@athenaintel/react 0.6.2 → 0.6.3
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/index.cjs +16 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/package.json +10 -9
package/dist/index.js
CHANGED
|
@@ -20688,7 +20688,7 @@ async function archiveThread(backendUrl, auth, threadId) {
|
|
|
20688
20688
|
}
|
|
20689
20689
|
const DEFAULT_API_URL = "https://sync.athenaintel.com/api/chat";
|
|
20690
20690
|
const DEFAULT_BACKEND_URL = "https://api.athenaintel.com/api/assistant-ui";
|
|
20691
|
-
const DEFAULT_MODEL = "claude-
|
|
20691
|
+
const DEFAULT_MODEL = "claude-opus-4-6-thinking-max-fast";
|
|
20692
20692
|
const DEFAULT_AGENT = "athena_assist_agent";
|
|
20693
20693
|
const ATHENA_TRACKING_ID_KEY = "_athena_tracking_id";
|
|
20694
20694
|
const safeStringify = (value) => {
|
|
@@ -20972,7 +20972,7 @@ const useAthenaRuntime = (config2) => {
|
|
|
20972
20972
|
agent: agent2,
|
|
20973
20973
|
model,
|
|
20974
20974
|
effort_dial_duration: -1,
|
|
20975
|
-
plan_mode_enabled:
|
|
20975
|
+
plan_mode_enabled: false,
|
|
20976
20976
|
workbench,
|
|
20977
20977
|
knowledge_base: knowledgeBase,
|
|
20978
20978
|
...systemPrompt ? { system_prompt: systemPrompt } : {}
|
|
@@ -62557,6 +62557,20 @@ function parsePythonResult(result) {
|
|
|
62557
62557
|
if (inner.data && typeof inner.data === "object") {
|
|
62558
62558
|
imagePng = inner.data.png ?? null;
|
|
62559
62559
|
}
|
|
62560
|
+
if (!imagePng && Array.isArray(data.outputs)) {
|
|
62561
|
+
for (const output of data.outputs) {
|
|
62562
|
+
if (output && typeof output === "object") {
|
|
62563
|
+
const mimeBundle = output.mime_bundle;
|
|
62564
|
+
if (mimeBundle && typeof mimeBundle === "object") {
|
|
62565
|
+
const png = mimeBundle["image/png"];
|
|
62566
|
+
if (typeof png === "string") {
|
|
62567
|
+
imagePng = png;
|
|
62568
|
+
break;
|
|
62569
|
+
}
|
|
62570
|
+
}
|
|
62571
|
+
}
|
|
62572
|
+
}
|
|
62573
|
+
}
|
|
62560
62574
|
const createdAssets = Array.isArray(data.created_assets) ? data.created_assets : [];
|
|
62561
62575
|
return { stdout, stderr, value, error: error2, exception, imagePng, createdAssets };
|
|
62562
62576
|
}
|