atropos/atroposlib/tests
teknium e1ece3e64e Add reasoning configuration support across server implementations
- 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.
2026-01-05 23:20:01 +00:00
..
test_utils feat: add minimum batch allocation support for environments 2025-07-07 08:50:28 -05:00
api_test_utils.py Fix API to accept messages without reward field + comprehensive tests 2025-06-09 14:03:08 -05:00
conftest.py Add n kwarg being ignored workaround 2025-05-12 12:06:03 -05:00
README.md Fix API to accept messages without reward field + comprehensive tests 2025-06-09 14:03:08 -05:00
test_advantages.py Remove dependency on torch for default installation 2025-05-12 10:17:41 -05:00
test_api_compression.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2025-10-15 04:19:25 +00:00
test_api_legacy.py Fix API to accept messages without reward field + comprehensive tests 2025-06-09 14:03:08 -05:00
test_api_messages_handling.py group temps, sample temps, and logprob api params 2025-09-25 16:41:58 -04:00
test_api_messages_handling_README.md Fix API to accept messages without reward field + comprehensive tests 2025-06-09 14:03:08 -05:00
test_managed_server.py fix test case 2025-10-29 14:38:16 -05:00
test_openai_api_workarounds.py Merge commit '71e7a5ca27' into add-support-for-custom-api-servers 2025-05-12 18:40:35 -05:00
test_reasoning_models.py Add reasoning configuration support across server implementations 2026-01-05 23:20:01 +00:00

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.