Get help from the marimo community

Updated 4 months ago

How to make cell for code generation?

At a glance

The community member is trying to figure out how to enable the code generation feature in the Marimo editor, as shown in a clip from the documentation. They have provided their Marimo configuration, which includes the OpenAI model and base URL. Other community members respond, suggesting the hotkey listed in the documentation (CTRL+SHIFT+E) and checking the cell menu for an AI option. One community member apologizes for missing that part of the documentation and thanks the others. There is no explicitly marked answer, but the community members provide helpful information to guide the original poster.

Useful resources
The clip in https://docs.marimo.io/guides/editor_features/ai_completion.html#generate-code-with-our-ai-assistant shows cell enabled for code generation, but I don't see how to make cell for this generative mode, I mean where's the option to be turned on to allow cell for this? Marimo config:
.$ marimo config show
...
[ai.open_ai]
model = "qwen2.5-coder:1.5b"
base_url = "http://localhost:11434/v1"
Attachment
image.png
l
A
5 comments
Does the hotkey listed in the docs not work? Otherwise, do you not see an AI option in the cell menu (three dots in top right of cell editor)
btw, how do i mark "solved" to help-support post?
Long-press an answer, go to apps, mark solution. And no worries!
Add a reply
Sign up and join the conversation on Discord