这是indexloc提供的服务,不要输入任何密码
Skip to content

recover from incorrect LLM arguments in function_tool #2500

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

Merged
merged 5 commits into from
Jun 3, 2025

Conversation

theomonnom
Copy link
Member

@theomonnom theomonnom commented Jun 3, 2025

  • if the LLM gives us wrong argument names, add the exception to the function result so the LLM can retry on his next turn.
  • Same for Pydantic Validation error

Copy link
Contributor

github-actions bot commented Jun 3, 2025

⚠️ Changeset Required

We detected changes in the following package(s) but no changeset file was found. Please add one for proper versioning:

  • livekit-agents
  • livekit-plugins-assemblyai
  • livekit-plugins-spitch

👉 Create a changeset file by clicking here.

@theomonnom theomonnom merged commit 6329990 into main Jun 3, 2025
16 of 23 checks passed
@theomonnom theomonnom deleted the theo/recover-validation branch June 3, 2025 21:15
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