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:
Omar Abdelwahab 2025-11-05 13:12:28 -08:00
parent a605cc2e14
commit 76fdff4a85
4 changed files with 82 additions and 34 deletions

View file

@ -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"