-
Notifications
You must be signed in to change notification settings - Fork 11
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
Remove newline filter in param descriptions for agents #169
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch. I've been burned by this before too, but just ended up editing the docstring instead of a proper fix.
@@ -58,6 +58,7 @@ def many_edge_cases( | |||
enum: StubEnum, | |||
defaulted_str: str = "default", | |||
defaulted_float: float = 1.0, | |||
structured_arg: str = "structured", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Structured implies it's a BaseModel
not a string, maybe rename to specified_str
@jamesbraza do you know what's up with this codeflash failure?
|
Might be fixed by latest |
@jamesbraza nah still bugged, can I link them to this or do they not have access? |
I'm not sure why we had this before. For agents with complex parameter descriptions (our only option for complicated tools since the tool description is limited to 1024 characters), this filter limits our ability to add structure.
So I'd like to cut it out.