Skip to content

Parsing model outputs: allow whitespaces after the header of code blobs #1172

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 3 commits into from
Apr 10, 2025

Conversation

aymeric-roucher
Copy link
Collaborator

@aymeric-roucher aymeric-roucher commented Apr 10, 2025

This leaves the model input a few white spaces after the ```py header that starts its code blobs.

@aymeric-roucher aymeric-roucher force-pushed the adapt-code-parsing-pattern branch from bc8939b to 4e71e9b Compare April 10, 2025 16:19
@aymeric-roucher aymeric-roucher force-pushed the adapt-code-parsing-pattern branch from 4e71e9b to 0b318ee Compare April 10, 2025 16:20
@aymeric-roucher aymeric-roucher changed the title Fix memory step model output in ToolCallingAgent (#1156) Parsing model outputs: allow whitespaces after the header of code blobs (#1156) Apr 10, 2025
@aymeric-roucher aymeric-roucher force-pushed the adapt-code-parsing-pattern branch from a61e43d to 30b7d13 Compare April 10, 2025 16:40
@aymeric-roucher aymeric-roucher force-pushed the adapt-code-parsing-pattern branch from 30b7d13 to b705fee Compare April 10, 2025 16:47
@aymeric-roucher aymeric-roucher changed the title Parsing model outputs: allow whitespaces after the header of code blobs (#1156) Parsing model outputs: allow whitespaces after the header of code blobs Apr 10, 2025
@aymeric-roucher aymeric-roucher merged commit cdd045d into main Apr 10, 2025
1 check passed
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.

2 participants