BoltAI Documentation
HomepagePricingChangelogDownload
  • Overview
  • Features
  • License
  • Getting Started
    • Setup
    • Your First Chat
    • AI Command
    • AI Inline
    • Use another AI Service
  • Chat UI
    • Overview
    • Basic Chat
    • Document Analysis
    • Advanced Voice Mode (beta)
    • Image Generation
    • Chat Configuration
    • AI Assistant
    • AI Plugins
    • App Appearance
    • Folder & Sidebar
    • Keyboard Shortcuts
    • Import from ChatGPT
    • Import from Claude.ai
    • Import / Export
    • Database Maintenance
    • Locations
    • Feature Flags
    • Community Icon
  • AI Command
    • Overview
    • Customize an AI Command
    • Alternative Profile
    • AI Command Behaviors
    • Instant Command
    • Bulk Editing Commands
    • FAQs
  • AI Inline
    • Overview
    • Inline Assistant
    • Inline Prompt
    • Inline Whisper
    • Advanced Configurations
  • Plugin
    • Overview
    • MCP Servers
    • Google Search
    • Web Browsing
    • Memory
    • Perplexity Search
    • Kagi Search
    • Brave Search
    • You.com Search
    • AppleScript
    • Shell Access
    • FFmpeg
    • DALL·E
    • Replicate
    • Whisper
    • Whisper (via Groq)
    • WolframAlpha
    • Gemini Code Execution
  • BoltAI on Setapp
    • Setapp Limitation
    • AI Inline on Setapp
    • Troubleshooting
  • BoltAI Mobile
    • Getting Started
    • MCP Servers (mobile)
  • Guides
    • How to create an OpenAI API Key
    • How to setup Web Search Plugin for BoltAI
    • How to set up BoltAI without an OpenAI API Key
    • How to generate Azure OpenAI API key
    • How to use Azure OpenAI API key in BoltAI
    • How to create an OpenRouter API key
    • How to set up a custom OpenAI-compatible Server in BoltAI
    • How to use Mistral AI on macOS with BoltAI
    • How to use Perplexity AI on mac with BoltAI
    • How to use Anthropic Claude on macOS with BoltAI
    • How to use Replicate AI on macOS with BoltAI
    • How to use Jina DeepSearch with BoltAI
    • How to migrate data to another Mac
    • How to back up your database
    • Cloud Sync Workaround
  • Troubleshooting
    • How to fix "This license key has reached the activation limit"
    • How to fix "You exceeded your current quota, please check your plan and billing details"
    • How to fix Accessbility permission
    • How to completely uninstall BoltAI
    • Can't select text in conversation prompt
    • API keys not persisted?
    • Download Previous Versions
  • Company
    • Run by a human
Powered by GitBook
On this page
  • How to set up the Gemini Code Execution plugin?
  • How to use the Gemini Code Execution plugin?
  • Limitation

Was this helpful?

  1. Plugin

Gemini Code Execution

PreviousWolframAlphaNextSetapp Limitation

Last updated 7 months ago

Was this helpful?

The Gemini API code execution feature enables the model to generate and run Python code and learn iteratively from the results until it arrives at a final output.

How to set up the Gemini Code Execution plugin?

No configuration is required for this plugin. However this plugin can only be used with the Gemini model from Google AI.

How to use the Gemini Code Execution plugin?

  1. Start a new chat with Google AI provider. Select a model that supports Function Calling. Gemini 1.5 Pro performs the best according to Google

  2. Enable the plugin.

  3. Enter your prompt.

It should look something like this

Limitation

  • The model can only generate and execute code. It can't return other artifacts like media files.

  • The feature doesn't support file I/O or use cases that involve non-text output (for example, data plots or a CSV file upload).

  • Code execution can run for a maximum of 30 seconds before timing out.

  • In some cases, enabling code execution can lead to regressions in other areas of model output (for example, writing a story).

  • There is some variation in the ability of the different models to use code execution successfully. Gemini 1.5 Pro is the best performing model, based on our testing.

These are limitations from the official

Google documentation
Learn more...
Gemini Code Execution in BoltAI