Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Add code execution python sample#451

Merged
MarkDaoust merged 3 commits intogoogle-gemini:mainfrom
shilpakancharla:code_exec_python
Jul 10, 2024
Merged

Add code execution python sample#451
MarkDaoust merged 3 commits intogoogle-gemini:mainfrom
shilpakancharla:code_exec_python

Conversation

@shilpakancharla
Copy link
Contributor

Covers:

  • code_execution_basic
  • code_execution_request_override
  • code_execution_chat

@github-actions github-actions bot added status:awaiting review PR awaiting review from a maintainer component:python sdk Issue/PR related to Python SDK labels Jul 10, 2024
Change-Id: Id75a4c1936a13a63f1e22f36d5b7011c24e31233
@MarkDaoust MarkDaoust merged commit 0d51b26 into google-gemini:main Jul 10, 2024
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Jul 10, 2024
),
tools="code_execution",
)
print(response.text)
Copy link

Choose a reason for hiding this comment

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

Should this use executableCode and executableResult ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

component:python sdk Issue/PR related to Python SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants