mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-04 18:13:44 +00:00
created a single helper function and updated list_mcp_tools and invoke_mcp_tool. Removed the comments in openai_responses.py
This commit is contained in:
parent
a605cc2e14
commit
76fdff4a85
4 changed files with 82 additions and 34 deletions
|
|
@ -496,8 +496,6 @@ class OpenAIResponseInputToolMCP(BaseModel):
|
|||
server_label: str
|
||||
server_url: str
|
||||
headers: dict[str, Any] | None = None
|
||||
# OAuth access token for MCP server authentication
|
||||
# Provide just the token (e.g., "my-secret-token"), the "Bearer " prefix will be added automatically
|
||||
authorization: str | None = None
|
||||
|
||||
require_approval: Literal["always"] | Literal["never"] | ApprovalFilter = "never"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue