Skip to content

Add base_url support for OpenAI-compatible APIs#2

Merged
keyton-weissinger merged 1 commit intomainfrom
codex/add-base_url-parameter-support-for-llmproxytracker
Jul 8, 2025
Merged

Add base_url support for OpenAI-compatible APIs#2
keyton-weissinger merged 1 commit intomainfrom
codex/add-base_url-parameter-support-for-llmproxytracker

Conversation

@keyton-weissinger
Copy link
Copy Markdown
Owner

Summary

  • allow LLMTrackingProxy to accept a base_url parameter with getter/setter
  • include base_url in OpenAI usage payloads (except Responses API)
  • document using base_url for DeepSeek and Grok
  • update Grok/DeepSeek tests to use the new parameter
  • add unit tests for base_url behaviour

Testing

  • pytest tests/test_proxy_new_features.py::TestProxyNewFeatures::test_base_url_added_when_set -q
  • pytest tests/test_proxy_new_features.py::TestProxyNewFeatures::test_base_url_not_in_payload_by_default -q
  • pytest tests/test_proxy_new_features.py::TestProxyNewFeatures::test_base_url_setter -q
  • pytest -q (fails: missing optional dependencies)

https://chatgpt.com/codex/tasks/task_b_686d5f87dc7c832bbfae2a22cfc21956

@keyton-weissinger keyton-weissinger merged commit f1ee9c1 into main Jul 8, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant