@marimo-team/islands 0.20.5-dev7 → 0.20.5-dev9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -70402,7 +70402,7 @@ Image URL: ${r.imageUrl}`)), contextToXml({
70402
70402
  return Logger.warn("Failed to get version from mount config"), null;
70403
70403
  }
70404
70404
  }
70405
- const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.20.5-dev7"), showCodeInRunModeAtom = atom(true);
70405
+ const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.20.5-dev9"), showCodeInRunModeAtom = atom(true);
70406
70406
  atom(null);
70407
70407
  var import_compiler_runtime$88 = require_compiler_runtime();
70408
70408
  function useKeydownOnElement(e, r) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marimo-team/islands",
3
- "version": "0.20.5-dev7",
3
+ "version": "0.20.5-dev9",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -60,6 +60,7 @@ import {
60
60
  AccordionItem,
61
61
  AccordionTrigger,
62
62
  } from "../ui/accordion";
63
+ import { Alert, AlertDescription } from "../ui/alert";
63
64
  import { Button } from "../ui/button";
64
65
  import { Checkbox } from "../ui/checkbox";
65
66
  import { DropdownMenuSeparator } from "../ui/dropdown-menu";
@@ -966,6 +967,15 @@ export const AiProvidersConfig: React.FC<AiConfigProps> = ({
966
967
  provider="github"
967
968
  isConfigured={hasValue("ai.github.api_key")}
968
969
  >
970
+ <Alert variant="warning" className="py-1.5 px-3 text-xs">
971
+ <AlertDescription>
972
+ Free tier models have low token limits which can cause errors with
973
+ larger prompts.{" "}
974
+ <ExternalLink href="https://docs.github.com/en/github-models/prototyping-with-ai-models#rate-limits">
975
+ Learn more
976
+ </ExternalLink>
977
+ </AlertDescription>
978
+ </Alert>
969
979
  <ApiKey
970
980
  form={form}
971
981
  config={config}
@@ -8,6 +8,7 @@ export const ExternalLink = ({
8
8
  | `https://console.anthropic.com/${string}`
9
9
  | `https://aistudio.google.com/${string}`
10
10
  | `https://github.com/${string}`
11
+ | `https://docs.github.com/${string}`
11
12
  | `https://openrouter.ai/${string}`
12
13
  | `https://docs.marimo.io/${string}`
13
14
  | `https://docs.python.org/${string}`