fix(agent): enhance 413 error handling and improve conversation history management in tests
This commit is contained in:
parent
2c817ce4a5
commit
19f28a633a
4 changed files with 23 additions and 5 deletions
|
|
@ -468,7 +468,7 @@ class TestBuildApiKwargs:
|
|||
kwargs = agent._build_api_kwargs(messages)
|
||||
assert kwargs["model"] == agent.model
|
||||
assert kwargs["messages"] is messages
|
||||
assert kwargs["timeout"] == 600.0
|
||||
assert kwargs["timeout"] == 900.0
|
||||
|
||||
def test_provider_preferences_injected(self, agent):
|
||||
agent.providers_allowed = ["Anthropic"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue