Skip to content

Fix RealtimeAgent tool fetching #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

vrtnis
Copy link
Owner

@vrtnis vrtnis commented Jun 30, 2025

Summary

  • narrow currentAgent type before calling getAllTools
  • apply cast in #setCurrentAgent and #handleFunctionCall

Testing

  • pnpm -r build-check (fails: Property 'toolFilter' is protected in packages/agents-core)

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

@vrtnis vrtnis added the codex label Jun 30, 2025 — with ChatGPT Connector
@vrtnis vrtnis marked this pull request as ready for review June 30, 2025 22:09
@vrtnis vrtnis merged commit 9a96704 into test/mcp-tool-filtering-js Jun 30, 2025
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