PageSourceSearch

https://www.volumn.ai/_next/static/chunks/21099.8658e1bb8f5628a8.js

js volumn.ai collected 2026-10-01 16:18:16 UTC 9,386 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[21099],{21099:(e,t,a)=>{a.r(t),a.d(t,{TabOutreachAgent:()=>c,default:()=>l});var n=a(53757);a(24361);var i=a(60039),s=a(79428),r=a(17671),d=a(35376);function c(e){let{accessToken:t,authReady:a,loadAdminModels:c,loadOutreachAgentFallbackLogs:l,modelOptions:x,modelsLoading:o,outreachAgentFallbackLogs:m,outreachAgentFallbackLogsError:p,outreachAgentFallbackLogsLoading:h,outreachAgentFallbackModelId:b,outreachAgentModelId:u,outreachAgentModelMessage:z,outreachAgentModelSaving:y,saveOutreachAgentModel:g,setOutreachAgentFallbackModelId:k,setOutreachAgentModelId:j}=e;return(0,n.jsxs)("section",{className:"rounded-xl border border-zinc-200 bg-white p-5 shadow-sm dark:border-zinc-800 dark:bg-zinc-900",children:[(0,n.jsxs)("div",{className:"mb-4 flex items-center justify-between gap-3",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(i.A,{className:"h-4 w-4 text-zinc-500"}),(0,n.jsx)("h2",{className:"text-sm font-semibold",children:"OutreachAgent"})]}),(0,n.jsx)("button",{type:"button",onClick:()=>{c(),l()},disabled:o||y||h,className:"text-xs text-zinc-500 underline-offset-2 hover:underline disabled:cursor-not-allowed disabled:opacity-60 dark:text-zinc-400",children:"刷新"})]}),(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("div",{className:"grid gap-3 rounded-lg border border-zinc-200/70 bg-zinc-50/60 p-3 dark:border-zinc-800 dark:bg-zinc-900/50",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,n.jsx)("div",{className:"text-xs font-semibold text-zinc-700 dark:text-zinc-200",children:"模型配置"}),(0,n.jsxs)("button",{type:"button",onClick:()=>void g(),disabled:y||!a||!t,className:"inline-flex items-center gap-1.5 rounded-md bg-zinc-900 px-2.5 py-1 text-[11px] font-medium text-white hover:bg-zinc-800 disabled:cursor-not-allowed disabled:opacity-60 dark:bg-zinc-100 dark:text-zinc-900 dark:hover:bg-zinc-200",children:[y?(0,n.jsx)(s.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,n.jsx)(r.A,{className:"h-3.5 w-3.5"}),(0,n.jsx)("span",{children:"保存模型"})]})]}),(0,n.jsxs)("label",{className:"space-y-1 text-[11px] text-zinc-600 dark:text-zinc-300",children:[(0,n.jsx)("span",{children:"主模型"}),(0,n.jsx)("select",{value:u,onChange:e=>j(e.target.value),className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200",children:(x??[]).map(e=>(0,n.jsx)("option",{value:e.id,children:e.name},e.id))})]}),(0,n.jsxs)("label",{className:"space-y-1 text-[11px] text-zinc-600 dark:text-zinc-300",children:[(0,n.jsx)("span",{children:"Fallback 模型"}),(0,n.jsxs)("select",{value:b,onChange:e=>k(e.target.value),className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200",children:[(0,n.jsx)("option",{value:"",children:"未设置"}),(x??[]).map(e=>(0,n.jsx)("option",{value:e.id,children:e.name},e.id))]})]}),z&&(0,n.jsx)("div",{className:"rounded-md bg-white px-3 py-2 text-[11px] text-zinc-500 dark:bg-zinc-950/60 dark:text-zinc-300",children:z})]}),(0,n.jsxs)("div",{className:"grid gap-3 rounded-lg border border-zinc-200/70 bg-zinc-50/60 p-3 dark:border-zinc-800 dark:bg-zinc-900/50",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,n.jsx)("div",{className:"text-xs font-semibold text-zinc-700 dark:text-zinc-200",children:"Fallback 日志"}),(0,n.jsx)("button",{type:"button",onClick:()=>void l(),disabled:h||!a||!t,className:"text-[11px] text-zinc-500 underline-offset-2 hover:underline disabled:cursor-not-allowed disabled:opacity-60 dark:text-zinc-400",children:"刷新"})]}),(0,n.jsx)("div",{className:"rounded-md bg-white px-3 py-2 text-[11px] text-zinc-500 dark:bg-zinc-950/60 dark:text-zinc-300",children:"显示最近 30 条 OutreachAgent 模型 fallback 记录。"}),p&&(0,n.jsx)("div",{className:"rounded-md bg-red-50 px-3 py-2 text-xs text-red-700 dark:bg-red-900/20 dark:text-red-300",children:p}),h&&(0,n.jsxs)("div",{className:"flex items-center gap-2 rounded-md bg-zinc-50 px-3 py-2 text-xs text-zinc-500 dark:bg-zinc-900/60 dark:text-zinc-300",children:[(0,n.jsx)(s.A,{className:"h-3.5 w-3.5 animate-spin"}),(0,n.jsx)("span",{children:"加载日志..."})]}),(0,n.jsx)("div",{className:"overflow-hidden rounded-xl border border-zinc-200 bg-white shadow-sm dark:border-zinc-800 dark:bg-zinc-900",children:m&&0!==m.length?(0,n.jsx)("div",{className:"overflow-x-auto",children:(0,n.jsxs)("table",{className:"w-full text-left text-xs",children:[(0,n.jsx)("thead",{className:"bg-zinc-50 text-[10px] uppercase tracking-wide text-zinc-500 dark:bg-zinc-900/60 dark:text-zinc-400",children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{className:"px-3 py-2",children:"时间"}),(0,n.jsx)("th",{className:"px-3 py-2",children:"用户"}),(0,n.jsx)("th",{className:"px-3 py-2",children:"账号"}),(0,n.jsx)("th",{className:"px-3 py-2",children:"Stage"}),(0,n.jsx)("th",{className:"px-3 py-2",children:"Primary"}),(0,n.jsx)("th",{className:"px-3 py-2",children:"Fallback"}),(0,n.jsx)("th",{className:"px-3 py-2",children:"Used"}),(0,n.jsx)("th",{className:"px-3 py-2",children:"原因"}),(0,n.jsx)("th",{className:"px-3 py-2",children:"错误数"})]})}),(0,n.jsx)("tbody",{className:"divide-y divide-zinc-200 dark:divide-zinc-800",children:m.map(e=>(0,n.jsxs)("tr",{className:"hover:bg-zinc-50/70 dark:hover:bg-zinc-900/60",children:[(0,n.jsx)("td",{className:"px-3 py-2 text-zinc-500 dark:text-zinc-300",children:e.createdAt?(0,d.TS)(e.createdAt):"--"}),(0,n.jsx)("td",{className:"px-3 py-2 font-mono text-[11px] text-zinc-600 dark:text-zinc-300",children:e.userId||"--"}),(0,n.jsx)("td",{className:"px-3 py-2 text-zinc-700 dark:text-zinc-200",children:e.username?`@${e.username}`:e.accountId||"--"}),(0,n.jsx)("td",{className:"px-3 py-2 text-zinc-700 dark:text-zinc-200",children:e.stage||"--"}),(0,n.jsx)("td",{className:"px-3 py-2 font-mono text-[11px] text-zinc-600 dark:text-zinc-300",children:e.primaryModelKey||"--"}),(0,n.jsx)("td",{className:"px-3 py-2 font-mono text-[11px] text-zinc-600 dark:text-zinc-300",children:e.fallbackModelKey||"--"}),(0,n.jsx)("td",{className:"px-3 py-2 font-mono text-[11px] text-zinc-600 dark:text-zinc-300",children:e.usedModelKey||"--"}),(0,n.jsx)("td",{className:"px-3 py-2 text-zinc-700 dark:text-zinc-200",children:e.reason||"--"}),(0,n.jsx)("td",{className:"px-3 py-2 text-zinc-500 dark:text-zinc-300",children:Array.isArray(e.errors)?e.errors.length:0})]},e.id))})]})}):(0,n.jsx)("div",{className:"px-4 py-10 text-center text-xs text-zinc-500 dark:text-zinc-400",children:"暂无日志"})})]})]})]})}let l=c},35376:(e,t,a)=>{a.d(t,{$Q:()=>r,GO:()=>l,IM:()=>i,TS:()=>x,XL:()=>s,_W:()=>n,hB:()=>d,we:()=>c});let n=[{value:"basic_monthly",label:"Basic Monthly"},{value:"basic_yearly",label:"Basic Yearly"},{value:"pro_monthly",label:"Pro Monthly"},{value:"pro_yearly",label:"Pro Yearly"},{value:"team_monthly",label:"Team Monthly"}];function i(e){let t=(e??"").toString().trim().toLowerCase();return t&&n.some(e=>e.value===t)?t:null}let s={"board_chat2edit_system_ask.txt":["Board","chat2edit","System(Ask)"],"board_chat2edit_system_create.txt":["Board","chat2edit","System(Create)"],"board_chat2edit_user.txt":["Board","chat2edit","User Template"],"xhs_batch_system.txt":["Skill:xhs-batch","System","JSON Plan"],"xhs_batch_copy_system.txt":["Skill:xhs-batch","System","Copy Only"],"xhs_image_prompt_short.txt":["Image","XHS Template(Sh
1ort)","Fallback"],"xhs_image_prompt.txt":["Image","XHS Template(Long)","Used:xhs-batch,board"],"ip_summary_x.txt":["Persona","IP Summary","System"],"oss_autocomplete_system.txt":["Persona","OSS Autocomplete","System"],"outline_prompt.txt":["XHS Outline","Unused"],"content_prompt.txt":["XHS Content","Unused"]},r=[{id:"persona-ai",name:"Volumn.ai (Gemini 3.0 Pro)"},{id:"gpt-5.2",name:"GPT5.2 (GPT-5.2)"},{id:"gpt-oss",name:"GPT oss (GPT-OSS 120B Free)"},{id:"nanobanana",name:"Nanobanana (Gemini 3 Pro Image)"},{id:"gemini-3.0-pro",name:"Gemini 3.0 Pro"},{id:"minimax-m2",name:"Minimax M2"},{id:"kimi-0905",name:"Kimi 0905"}],d={"xhs-batch":["copy","outline","content","repair","image"]},c=[{id:"persona-ai",name:"Volumn.ai(高质量)",creditsPerK:.9},{id:"advanced-bundle",name:"高级组合(Nanobanana / GPT5.2 / Gemini3.0 Pro / Minimax M2 / Kimi0905)",creditsPerK:.45}];function l(e){let t=("string"==typeof e?e:"").trim();if(!t)return"";let a=(t.split("\n")[0]??"").trim();if(!a)return"";let n=a.split(/[·•|]/).map(e=>e.trim()).filter(Boolean);if(0===n.length)return"";let i=function(e){let t=(e??"").trim();if(!t)return"";let a=/^sales\s*engine(?:\s*\((from\s+replies|from\s+retweets)\))?$/i.exec(t);if(!a)return t;let n=(a[1]??"").toLowerCase().trim();return n?`Sales Engine (${n})`:"Sales Engine"}(n[0]??""),s=n[1]??"";return/^audience\s*extract$/i.test(s)?`${i} \xb7 Audience extract`:i}function x(e){if(!e)return"--";let t=new Date(e);return Number.isFinite(t.getTime())?t.toLocaleString():e}},79428:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(56059).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.