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

feat: improve Python tool #79

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

JanPokorny
Copy link
Contributor

Allow running many new CLI tools and Python libraries made available through the latest Code Interpreter executor image. Plus some prompt optimization. Code Interpreter now runs Xonsh -- a syntatic extension over Python bringing shell compatibility -- which allows the LLM to write shell commands directly and subsequently not get lost in the double escaping.

@JanPokorny JanPokorny force-pushed the janpokorny/feat-improve-python-tool branch from 53646d6 to 11de957 Compare October 10, 2024 13:06
@JanPokorny JanPokorny requested a review from Tomas2D October 10, 2024 13:09
@Tomas2D Tomas2D requested a review from matoushavlena October 10, 2024 13:10
@JanPokorny JanPokorny force-pushed the janpokorny/feat-improve-python-tool branch 2 times, most recently from 1b48283 to ee48c9d Compare October 10, 2024 13:39
Copy link
Contributor

@Tomas2D Tomas2D left a comment

Choose a reason for hiding this comment

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

Please @matoushavlena run some test cases.

src/tools/python/output.ts Outdated Show resolved Hide resolved
Signed-off-by: Jan Pokorný <[email protected]>
@JanPokorny JanPokorny force-pushed the janpokorny/feat-improve-python-tool branch from ee48c9d to 8db60ec Compare October 10, 2024 15:04
@Tomas2D Tomas2D merged commit feb2f4a into main Oct 10, 2024
4 checks passed
@Tomas2D Tomas2D deleted the janpokorny/feat-improve-python-tool branch October 10, 2024 15:26
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