mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
fix(mcp): set instructions=None in SigV4BuildFromTable test mocks
New MCPServer.instructions field requires a str; MagicMock attributes not explicitly set return a MagicMock object, which fails Pydantic validation.
This commit is contained in:
parent
693c846617
commit
e20c114811
1 changed files with 2 additions and 0 deletions
|
|
@ -838,6 +838,7 @@ class TestSigV4BuildFromTable:
|
|||
table_record.tool_name_to_description = None
|
||||
table_record.byok_api_key_help_url = None
|
||||
table_record.oauth2_flow = None
|
||||
table_record.instructions = None
|
||||
|
||||
manager = MCPServerManager()
|
||||
|
||||
|
|
@ -895,6 +896,7 @@ class TestSigV4BuildFromTable:
|
|||
table_record.tool_name_to_description = None
|
||||
table_record.byok_api_key_help_url = None
|
||||
table_record.oauth2_flow = None
|
||||
table_record.instructions = None
|
||||
|
||||
manager = MCPServerManager()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue