llama-stack/llama_stack/providers
Sébastien Han 803bf0e029
fix: solve ruff B008 warnings (#1444)
# What does this PR do?

The commit addresses the Ruff warning B008 by refactoring the code to
avoid calling SamplingParams() directly in function argument defaults.
Instead, it either uses Field(default_factory=SamplingParams) for
Pydantic models or sets the default to None and instantiates
SamplingParams inside the function body when the argument is None.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-03-06 16:48:35 -08:00
..
inline fix: solve ruff B008 warnings (#1444) 2025-03-06 16:48:35 -08:00
registry fix: groq now depends on litellm 2025-02-27 14:07:12 -08:00
remote fix: solve ruff B008 warnings (#1444) 2025-03-06 16:48:35 -08:00
tests refactor(test): introduce --stack-config and simplify options (#1404) 2025-03-05 17:02:02 -08:00
utils fix: solve ruff B008 warnings (#1444) 2025-03-06 16:48:35 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
datatypes.py chore: move all Llama Stack types from llama-models to llama-stack (#1098) 2025-02-14 09:10:59 -08:00