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

Add code execution feature #185

Merged
merged 6 commits into from
Jun 27, 2024
Merged

Add code execution feature #185

merged 6 commits into from
Jun 27, 2024

Conversation

hsubox76
Copy link
Collaborator

Add code execution feature

  • Add new code execution Tool type
  • Add new Parts for ExecutableCode and CodeExecutionResult - parts returned from the model
  • Update text() accessor to return a synthesis of any TextParts, ExecutableCodeParts, and CodeExecutionResultParts found
  • Add a sample
  • Add underscores to some existing internal interfaces to make api-extractor happy

TODO: Add an integration test - can be done after launch. Needs prod endpoint to be rolled out.

@hsubox76 hsubox76 marked this pull request as ready for review June 26, 2024 21:07
@hsubox76 hsubox76 merged commit 06216be into main Jun 27, 2024
8 checks passed
@hsubox76 hsubox76 deleted the ch-code-execution branch June 27, 2024 02:37
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