Skip to content
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

Introduce Langchain::Assistant#parallel_tool_calls options whether to allow the LLM to make multiple parallel tool calls #827

Merged
merged 6 commits into from
Oct 12, 2024

Conversation

andreibondarev
Copy link
Collaborator

@andreibondarev andreibondarev commented Oct 12, 2024

Usage:

assistant = Langchain::Assistant.new(
  llm: llm,
  parallel_tool_calls: true
)

assistant.parallel_tool_calls = false

@andreibondarev andreibondarev marked this pull request as ready for review October 12, 2024 16:03
@andreibondarev andreibondarev changed the title Parallel tool calls Introduce Langchain::Assistant#parallel_tool_calls options whether to allow the LLM to make multiple parallel tool calls Oct 12, 2024
@andreibondarev andreibondarev merged commit 49161bb into main Oct 12, 2024
7 checks passed
@andreibondarev andreibondarev deleted the parallel_tool_calls branch October 12, 2024 16:13
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.

Add support for parallel_tool_calls option when configuring Langchain::Assistant
1 participant