mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 18:22:41 +00:00
make default tool prompt format none in agent config
This commit is contained in:
parent
94ffaf468c
commit
ef6085fe8b
2 changed files with 1 additions and 4 deletions
|
@ -155,9 +155,7 @@ class AgentConfigCommon(BaseModel):
|
|||
toolgroups: Optional[List[AgentToolGroup]] = Field(default_factory=list)
|
||||
client_tools: Optional[List[ToolDef]] = Field(default_factory=list)
|
||||
tool_choice: Optional[ToolChoice] = Field(default=ToolChoice.auto)
|
||||
tool_prompt_format: Optional[ToolPromptFormat] = Field(
|
||||
default=ToolPromptFormat.json
|
||||
)
|
||||
tool_prompt_format: Optional[ToolPromptFormat] = Field(default=None)
|
||||
|
||||
max_infer_iters: int = 10
|
||||
|
||||
|
|
|
@ -98,7 +98,6 @@ def agent_config(llama_stack_client, text_model_id):
|
|||
},
|
||||
toolgroups=[],
|
||||
tool_choice="auto",
|
||||
tool_prompt_format="json",
|
||||
input_shields=available_shields,
|
||||
output_shields=available_shields,
|
||||
enable_session_persistence=False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue