mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-26 17:13:09 +00:00
- Updated server classes (OpenAIServer, SGLangServer, TrlVllmServer, VLLMServer) to accept a ReasoningConfig parameter during initialization. - Enhanced ReasoningConfig to allow flexible max_tokens without strict validation, accommodating varying provider limits. - Implemented reasoning configuration injection in APIServer methods for chat and completion handling. - Updated tests to reflect changes in max_tokens validation logic. This commit integrates reasoning capabilities into the server handling architecture, improving compatibility with diverse reasoning models. |
||
|---|---|---|
| .. | ||
| test_utils | ||
| api_test_utils.py | ||
| conftest.py | ||
| README.md | ||
| test_advantages.py | ||
| test_api_compression.py | ||
| test_api_legacy.py | ||
| test_api_messages_handling.py | ||
| test_api_messages_handling_README.md | ||
| test_managed_server.py | ||
| test_openai_api_workarounds.py | ||
| test_reasoning_models.py | ||
Running Tests
This section contains instructions and guidelines for running the test suite. Please ensure all tests pass before submitting contributions.
We use pytest for our testing framework.
Simply run pytest from the main directory and you're good to go.