Skip to content

Conversation

romainhuet
Copy link
Contributor

This PR tackles two things:

  1. Adds the option for a local Jupyter kernel as source for Python.
  2. Increases browser reliability by handling the case where the model accidentally outputs a call to functions.browser.search as opposed to browser.search as long as there is no conflicting function defined.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Comment on lines 431 to 432
self.reasoning_item_ids: list[str] = []
self.current_reasoning_item_id: Optional[str] = None

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update final response builder for browser fallback

The streaming code now normalizes functions.browser.* recipients via _resolve_browser_recipient, so events trigger the browser tool even when the model emits reserved names under the functions. namespace. However, the non‑streaming path that builds the final ResponseObject still relies on is_not_builtin_tool and only recognizes recipients starting with "browser.". If the model emits functions.browser.search, streaming will invoke the browser, but the final response will contain a function_call item instead of a web_search_call, causing stored responses or non‑SSE clients to report the wrong action. Consider reusing _resolve_browser_recipient (or similar logic) in generate_response so both streaming and final responses classify browser calls consistently.

Useful? React with 👍 / 👎.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codex Can you please fix this?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Testing

  • ⚠️ Not run (not requested)

View task →

@openai openai deleted a comment from chatgpt-codex-connector bot Oct 3, 2025
@openai openai deleted a comment from balajirajput96 Oct 5, 2025
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.

3 participants