@marimo-team/islands 0.22.1-dev10 → 0.22.1-dev11
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
|
@@ -65425,7 +65425,7 @@ ${c}
|
|
|
65425
65425
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
65426
65426
|
}
|
|
65427
65427
|
}
|
|
65428
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.1-
|
|
65428
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.1-dev11"), showCodeInRunModeAtom = atom(true);
|
|
65429
65429
|
atom(null);
|
|
65430
65430
|
var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
|
|
65431
65431
|
constructor() {
|
package/package.json
CHANGED
|
@@ -465,7 +465,7 @@ const ChatPanelBody = () => {
|
|
|
465
465
|
messages: activeChat?.messages || [], // initial messages
|
|
466
466
|
transport: new DefaultChatTransport({
|
|
467
467
|
api: runtimeManager.getAiURL("chat").toString(),
|
|
468
|
-
headers: runtimeManager.headers(),
|
|
468
|
+
headers: () => runtimeManager.headers(),
|
|
469
469
|
prepareSendMessagesRequest: async (options) => {
|
|
470
470
|
const completionBody = await buildCompletionRequestBody(
|
|
471
471
|
options.messages,
|
|
@@ -476,6 +476,7 @@ const ChatPanelBody = () => {
|
|
|
476
476
|
const tools = FRONTEND_TOOL_REGISTRY.getToolSchemas(chatMode);
|
|
477
477
|
|
|
478
478
|
return {
|
|
479
|
+
api: runtimeManager.getAiURL("chat").toString(),
|
|
479
480
|
body: {
|
|
480
481
|
tools,
|
|
481
482
|
...options,
|
|
@@ -122,7 +122,7 @@ export const AddCellWithAI: React.FC<{
|
|
|
122
122
|
transport: new StreamingChunkTransport(
|
|
123
123
|
{
|
|
124
124
|
api: runtimeManager.getAiURL("completion").toString(),
|
|
125
|
-
headers: runtimeManager.headers(),
|
|
125
|
+
headers: () => runtimeManager.headers(),
|
|
126
126
|
prepareSendMessagesRequest: async (options) => {
|
|
127
127
|
const completionBody = await buildCompletionRequestBody(
|
|
128
128
|
options.messages,
|
|
@@ -136,6 +136,7 @@ export const AddCellWithAI: React.FC<{
|
|
|
136
136
|
};
|
|
137
137
|
|
|
138
138
|
return {
|
|
139
|
+
api: runtimeManager.getAiURL("completion").toString(),
|
|
139
140
|
body: body,
|
|
140
141
|
};
|
|
141
142
|
},
|