mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-05 10:23:44 +00:00
formatting changes
This commit is contained in:
parent
c563d8ad80
commit
2295a1aad5
2 changed files with 2 additions and 13 deletions
|
|
@ -403,11 +403,7 @@ class OpenAIResponseText(BaseModel):
|
|||
|
||||
|
||||
# Must match type Literals of OpenAIResponseInputToolWebSearch below
|
||||
WebSearchToolTypes = [
|
||||
"web_search",
|
||||
"web_search_preview",
|
||||
"web_search_preview_2025_03_11",
|
||||
]
|
||||
WebSearchToolTypes = ["web_search", "web_search_preview", "web_search_preview_2025_03_11"]
|
||||
|
||||
|
||||
@json_schema_type
|
||||
|
|
@ -500,7 +496,6 @@ class OpenAIResponseInputToolMCP(BaseModel):
|
|||
server_label: str
|
||||
server_url: str
|
||||
headers: dict[str, Any] | None = None
|
||||
# Authorization is excluded from serialization for security (never returned in responses)
|
||||
authorization: str | None = Field(default=None, exclude=True)
|
||||
|
||||
require_approval: Literal["always"] | Literal["never"] | ApprovalFilter = "never"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue