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

v0.1.0 hot fixes: generated code is malformed + OpenAI version bump #32

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

glennga
Copy link
Collaborator

@glennga glennga commented Dec 20, 2024

Using autoescape=True messed up the rendering for some tools (including the SQL++ queries). Marking the specific variables that we know are safe (i.e., the generated code and the user query).

There is a TODO in the "test_tool_generator.py" that will catch this error in the future (for the GA release).

The second hotfix pertains to a secondary dependency for our template agent (with_controlflow --> OpenAI), thus the need to bump up the controlflow version. The issue here pertains to a weird API error raised by OpenAI calls.

…ng the SQL++ queries). Marking the specific variables that we know are safe (i.e., the generated code and the user query).
@glennga glennga requested review from TJ202 and ThejasNU December 20, 2024 20:58
@glennga glennga self-assigned this Dec 20, 2024
@glennga glennga requested a review from steveyen December 20, 2024 21:00
Copy link
Collaborator

@ThejasNU ThejasNU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@TJ202 TJ202 merged commit 3453d35 into master Jan 2, 2025
2 checks passed
@TJ202 TJ202 deleted the glennga/PR_jinja_template_hotfix branch January 2, 2025 09:19
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.

3 participants