ben-pr-p
ben-pr-p9mo ago

API key not working

I'm getting an OpenAI API Key not configured message - this is my toml:
cat ~/.marimo.toml
[package_management]
manager = "poetry"

[keymap]
preset = "vim"

[completion]
activate_on_typing = true
copilot = true

[experimental]

[runtime]
auto_instantiate = true

[formatting]
line_length = 86

[server]
browser = "default"

[display]
code_editor_font_size = 14
theme = "system"
cell_output = "above"

[save]
format_on_save = true
autosave_delay = 1000
autosave = "after_delay"

[ai.open_ai]
api_key = "hidden"
model = "gpt-4-0125-preview"
base_url = "https://api.openai.com"
cat ~/.marimo.toml
[package_management]
manager = "poetry"

[keymap]
preset = "vim"

[completion]
activate_on_typing = true
copilot = true

[experimental]

[runtime]
auto_instantiate = true

[formatting]
line_length = 86

[server]
browser = "default"

[display]
code_editor_font_size = 14
theme = "system"
cell_output = "above"

[save]
format_on_save = true
autosave_delay = 1000
autosave = "after_delay"

[ai.open_ai]
api_key = "hidden"
model = "gpt-4-0125-preview"
base_url = "https://api.openai.com"
Any ideas?
1 Reply
Myles Scolnick
Myles Scolnick9mo ago
Are you on the latest version? Is there another marimo.toml in the directory you are in