Skip to content

Fix runtime import cycle and OpenAI protocol param forwarding#647

Open
fchange wants to merge 1 commit into
OpenBMB:mainfrom
fchange:codex/fix-runtime-openai-protocol
Open

Fix runtime import cycle and OpenAI protocol param forwarding#647
fchange wants to merge 1 commit into
OpenBMB:mainfrom
fchange:codex/fix-runtime-openai-protocol

Conversation

@fchange

@fchange fchange commented Jul 7, 2026

Copy link
Copy Markdown

Summary

  • lazily expose runtime SDK exports to avoid importing runtime.sdk while workflow validation imports runtime bootstrap modules
  • strip the internal OpenAI protocol selector before forwarding payloads to Responses or Chat Completions APIs
  • add regression tests for both issues

Testing

  • uv run pytest tests/test_runtime_lazy_imports.py tests/test_openai_provider_protocol.py
  • uv run pytest was started; 68 tests passed before it hung in existing tests/test_websocket_send_message_sync.py::TestSendMessageSync::test_send_from_main_thread, so it was interrupted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant