0.3.9
What's Changed
New Features!
- 🤖 AI Suggestions: Bring your own OpenAI API key to unlock AI-powered suggestions!
![image](https://private-user-images.githubusercontent.com/1994308/319445597-06c5be42-33f8-4277-99a9-abeb1c3c7401.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Njc1NDAsIm5iZiI6MTcyNDc2NzI0MCwicGF0aCI6Ii8xOTk0MzA4LzMxOTQ0NTU5Ny0wNmM1YmU0Mi0zM2Y4LTQyNzctOTlhOS1hYmViMWMzYzc0MDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjdUMTQwMDQwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjNlMmY5NjMzYzkwNTRmOTc2NGQxZTYwYWE4ZGY0MzMxZGRlNjE5NzE4Mjk5NGYxZmFhY2JlZTcxMWY5MDI4NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.QSeti3xrzyYq_VMXyQ5_-W8qgpDJ8nn9jG753GaO4hk)
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