Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
P
pac
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ai-tools
  • pac
  • Repository

Switch branch/tag
  • pac
  • apps
  • pac-service
  • prisma
  • migrations
History Find file
  • Source code
  • Download zip
  • Download tar.gz
  • Download tar.bz2
  • Download tar
  • luoqi's avatar
    fix(ai-script): qwen3.7-max 结构化输出修复 + gemini 撤回关思考 + 超时兜底 + TTFT/latency 落账 + 价格表修正 · 70b70ce0
    - qwen3.7-max:DashScope 不强制 json_schema → 改 supportsStructuredOutputs:false + fetch 中间件强制
      response_format:json_object + enable_thinking:false;runner 从 outputSchema 自动注入英文 key 骨架
      (withQwenStructuredHint),否则模型自编 key 必 fail。
    - 三档 schema 去掉 .min/.max/.length/.int 硬约束(对中文偏严,qwen 简洁输出被打回 too_small)→ 改 describe 软引导。
    - gemini-3.5-flash 撤回 thinkingBudget:0(关思考会致结构化输出偶发 parse 失败);慢/卡由超时+重试+兜底兜住。
    - 给 generateObject/streamObject 接 180s 超时(AI_REQUEST_TIMEOUT_SEC,原 60→180)防永久挂起。
    - agent_invocations 加 ttft_ms / latency_ms(+migration),流式记首字、收尾记总耗时(对齐 Dify usage)。
    - 价格表按官方页修正(¥/M):deepseek-v4-pro 0.03/3.13/6.26、flash 0.02/1.01/2.02、
      gemini-3.5-flash 1.08/10.8/64.8、qwen3.7-max 1.2/12/36(旗舰价,之前低估 5x)。
    - 三档 promptVersion 随 schema 变更 bump。
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    luoqi committed Jun 08, 2026
    70b70ce0
Name
Last commit
Last update
..
20260526000000_init Loading commit data...
20260528000000_sync_lock_via_partial_unique Loading commit data...
20260528000001_sync_log_metadata_for_checkpoint Loading commit data...
20260528000002_patient_tx_source_event_partial_unique Loading commit data...
20260531133624_add_invocation_system_prompt Loading commit data...
20260601032022_add_plan_snoozed_until Loading commit data...
20260601072323_add_execution_recall_feedback Loading commit data...
20260602054612_add_persona_feature_data Loading commit data...
20260603090000_move_recall_feedback_to_plan Loading commit data...
20260604131236_add_patient_relations_drop_primary_contact_type Loading commit data...
20260604143103_add_patient_return_visits Loading commit data...
20260607034635_add_acquisition_channel Loading commit data...
20260607042209_add_referral_aggregates Loading commit data...
20260608084503_add_invocation_ttft_latency Loading commit data...
migration_lock.toml Loading commit data...