0.3.9
What's Changed
New Features!
- 🤖 AI Suggestions: Bring your own OpenAI API key to unlock AI-powered suggestions!
Get started by updating your ~/.marimo.toml
config file:
[ai.open_ai]
# Get your API key from https://platform.openai.com/account/api-keys
api_key = "sk-..."
# Choose a model, we recommend "gpt-3.5-turbo"
model = "gpt-3.5-turbo"
# Change the base_url if you are using a different OpenAI-compatible API
base_url = "https://api.openai.com"
Read the docs to learn more.
Lazy evaluation/rendering of components The new library function mo.lazy()
lets you defer the computation and rendering of components, especially useful if you have expensive components that are hidden by default (e.g., in a tab or accordion).
All changes
- chore(deps): update dependency typescript to ^5.4.3 by @renovate in #1044
- fix(deps): update dependency react-resizable-panels to v2.0.16 by @renovate in #1042
- chore(deps): update all eslint dependencies by @renovate in #1043
- fix: pyodide additional remounting by @mscolnick in #1046
- fix: dont allow renaming to '.' or '..', show dotfiles by @mscolnick in #1047
- fix: allow removing Grid layout by @mscolnick in #1048
- improvement: click hourglass to move view to current cell by @fuenfundachtzig in #1040
- feat: model/base-url settings for AI completion, bring out of experimental by @mscolnick in #1049
- feat: editor placeholder for AI prompt by @mscolnick in #1057
- feat: mo.lazy by @mscolnick in #1052
- fix: guard against modules that don't have a
__spec__
attr by @akshayka in #1058 - fix: set event loop policy in create_asgi_app by @akshayka in #1060
- chore(deps): update dependency vite to v5.1.7 [security] by @renovate in #1054
- fix: resuming when auto-instantiate is false by @akshayka in #1061
- improvement: update ai system prompt to be mpl aware by @akshayka in #1062
- 0.3.9 by @akshayka in #1063
Full Changelog: 0.3.8...0.3.9