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

Allow completion tools to be customized per-task #330

Merged
merged 5 commits into from
Sep 24, 2024
Merged

Conversation

jlowin
Copy link
Member

@jlowin jlowin commented Sep 24, 2024

This feature allows users to customize which completion tools are generated for a task (options are None to generate all, or any combination of "SUCCEED" and "FAIL", including no options at all). Users must ensure that if they don't generate tools, agents don't get stuck in loops.

task = cf.Task(
    ...,
    completion_tools=["SUCCEED"],
)

Closes #325

@jlowin jlowin merged commit 176a4bd into main Sep 24, 2024
4 checks passed
@jlowin jlowin deleted the completion-tools branch September 24, 2024 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhance an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow the ability to customize which tools a task generates
1 participant