@athenaintel/react 0.6.1 → 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 CHANGED
@@ -20706,7 +20706,7 @@ async function archiveThread(backendUrl, auth, threadId) {
20706
20706
  }
20707
20707
  const DEFAULT_API_URL = "https://sync.athenaintel.com/api/chat";
20708
20708
  const DEFAULT_BACKEND_URL = "https://api.athenaintel.com/api/assistant-ui";
20709
- const DEFAULT_MODEL = "claude-sonnet-4-6-low";
20709
+ const DEFAULT_MODEL = "claude-opus-4-6-thinking-max-fast";
20710
20710
  const DEFAULT_AGENT = "athena_assist_agent";
20711
20711
  const ATHENA_TRACKING_ID_KEY = "_athena_tracking_id";
20712
20712
  const safeStringify = (value) => {
@@ -20990,7 +20990,7 @@ const useAthenaRuntime = (config2) => {
20990
20990
  agent: agent2,
20991
20991
  model,
20992
20992
  effort_dial_duration: -1,
20993
- plan_mode_enabled: true,
20993
+ plan_mode_enabled: false,
20994
20994
  workbench,
20995
20995
  knowledge_base: knowledgeBase,
20996
20996
  ...systemPrompt ? { system_prompt: systemPrompt } : {}
@@ -62575,6 +62575,20 @@ function parsePythonResult(result) {
62575
62575
  if (inner.data && typeof inner.data === "object") {
62576
62576
  imagePng = inner.data.png ?? null;
62577
62577
  }
62578
+ if (!imagePng && Array.isArray(data.outputs)) {
62579
+ for (const output of data.outputs) {
62580
+ if (output && typeof output === "object") {
62581
+ const mimeBundle = output.mime_bundle;
62582
+ if (mimeBundle && typeof mimeBundle === "object") {
62583
+ const png = mimeBundle["image/png"];
62584
+ if (typeof png === "string") {
62585
+ imagePng = png;
62586
+ break;
62587
+ }
62588
+ }
62589
+ }
62590
+ }
62591
+ }
62578
62592
  const createdAssets = Array.isArray(data.created_assets) ? data.created_assets : [];
62579
62593
  return { stdout, stderr, value, error: error2, exception, imagePng, createdAssets };
62580
62594
  }