marimo icon indicating copy to clipboard operation
marimo copied to clipboard

Better support for xAI/grok for AI configuration

Open jovezhong opened this issue 7 months ago • 0 comments

Description

x.ai's grok3 is fast(and cheap). Better to have native support in marimo

Image

Suggested solution

  • Add 4th item in 'AI KEYS'
  • in the AI ASSIST section, check the model name, if it starts from grok, then use the grok API, not OpenAI API Key

I need to use both OpenAI and Grok, so I don't want to change the OpenAI key to the grok, but in latest version, it will call api.x.ai, with grok3 model but with openai key, ending up with error

Image

Alternative

No response

Additional context

No response

jovezhong avatar Apr 18 '25 17:04 jovezhong