Skip to content

Fix optional base_url handling in streaming wrapper#3

Merged
keyton-weissinger merged 1 commit intomainfrom
codex/make-base_url-optional-in-llmtrackingproxy
Jul 8, 2025
Merged

Fix optional base_url handling in streaming wrapper#3
keyton-weissinger merged 1 commit intomainfrom
codex/make-base_url-optional-in-llmtrackingproxy

Conversation

@keyton-weissinger
Copy link
Copy Markdown
Owner

Summary

  • keep base_url available when wrapping streaming responses
  • guard triggered threshold checks when mocked client returns unexpected types

Testing

  • pytest -q tests/test_proxy_new_features.py::TestProxyNewFeatures::test_base_url_setter tests/test_proxy_new_features.py::TestProxyNewFeatures::test_base_url_added_when_set tests/test_proxy_new_features.py::TestProxyNewFeatures::test_base_url_ignored_for_responses_api -q

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

@keyton-weissinger keyton-weissinger merged commit 3c5800f 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