mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 01:48:05 +00:00
fix: Update import path after API reorganization
- Fixed broken import in openai_responses.py validation code Changed: llama_stack.apis.agents.openai_responses → llama_stack_api.openai_responses - Removed unnecessary skip from test_mcp_tools_in_inference Test already has proper client type check (LlamaStackAsLibraryClient) The library client DOES have register_tool_group() method
This commit is contained in:
parent
c2bf725a77
commit
b5395fa5d3
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ class OpenAIResponsesImpl:
|
|||
|
||||
# Validate MCP tools: ensure Authorization header is not passed via headers dict
|
||||
if tools:
|
||||
from llama_stack.apis.agents.openai_responses import OpenAIResponseInputToolMCP
|
||||
from llama_stack_api.openai_responses import OpenAIResponseInputToolMCP
|
||||
|
||||
for tool in tools:
|
||||
if isinstance(tool, OpenAIResponseInputToolMCP) and tool.headers:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue