mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 01:12:26 +00:00
fix: add kwargs in sample_run_config
This commit is contained in:
parent
d3d50121cf
commit
ccef7e325d
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class LlamaCppImplConfig(BaseModel):
|
|||
)
|
||||
|
||||
@classmethod
|
||||
def sample_run_config(cls, api_key: str = "${env.LLAMACPP_API_KEY:=}") -> dict[str, Any]:
|
||||
def sample_run_config(cls, api_key: str = "${env.LLAMACPP_API_KEY:=}", **kwargs) -> dict[str, Any]:
|
||||
return {
|
||||
"openai_compat_api_base": "${env.LLAMACPP_URL:=http://localhost:8080}",
|
||||
"api_key": api_key,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue