test: update test suite for PydanticAI integration
- Update conftest for lazy agent initialization - Update chat router tests for Tatlock capabilities - Update models router tests for tools capability - Update responses advanced features tests - Update main app tests - Total: 131 tests, 81.78% coverage (up from 95 tests, 78.95%)
This commit is contained in:
@@ -46,7 +46,7 @@ def test_chat_completion_non_streaming(
|
||||
def test_chat_completion_validation_error(client: TestClient) -> None:
|
||||
"""Test chat completion with invalid request."""
|
||||
# Missing required field 'messages'
|
||||
invalid_request = {"model": "tatlock"}
|
||||
invalid_request = {"model": "Tatlock"}
|
||||
|
||||
response = client.post("/v1/chat/completions", json=invalid_request)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user