mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
Use max_completion_tokens for OpenAI and Azure OpenAI providers: The OpenAI API deprecated max_tokens in favor of max_completion_tokens for chat completions. Newer models (gpt-4o, o1, o3) reject the old parameter with a 400 error. AZURE_API_VERSION env var now overrides the default API version: (falls back to 2024-12-01-preview). Update tests to test for expected structures |
||
|---|---|---|
| .. | ||
| common | ||
| __init__.py | ||
| conftest.py | ||
| test_azure_openai_processor.py | ||
| test_azure_openai_streaming.py | ||
| test_azure_processor.py | ||
| test_azure_streaming.py | ||
| test_bedrock_processor.py | ||
| test_claude_processor.py | ||
| test_cohere_processor.py | ||
| test_googleaistudio_processor.py | ||
| test_llamafile_processor.py | ||
| test_lmstudio_processor.py | ||
| test_mistral_processor.py | ||
| test_ollama_processor.py | ||
| test_openai_processor.py | ||
| test_parameter_caching.py | ||
| test_rate_limit_contract.py | ||
| test_tgi_processor.py | ||
| test_vertexai_processor.py | ||
| test_vllm_processor.py | ||