mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-01 18:04:32 +00:00
Update Strategy in SamplingParams to be a union
This commit is contained in:
parent
300e6e2702
commit
dea575c994
28 changed files with 600 additions and 377 deletions
|
|
@ -97,9 +97,11 @@ def agent_config(llama_stack_client):
|
|||
model=model_id,
|
||||
instructions="You are a helpful assistant",
|
||||
sampling_params={
|
||||
"strategy": "greedy",
|
||||
"temperature": 1.0,
|
||||
"top_p": 0.9,
|
||||
"strategy": {
|
||||
"type": "greedy",
|
||||
"temperature": 1.0,
|
||||
"top_p": 0.9,
|
||||
},
|
||||
},
|
||||
toolgroups=[],
|
||||
tool_choice="auto",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue