1. 30 Dec, 2025 1 commit
    • fix: 修复智普、Moonshot渠道在stream=true时无法拿到cachePrompt的统计数据。 · 6a2da319
      根本原因:
      1. 在OaiStreamHandler流式处理函数中,调用applyUsagePostProcessing(info, usage, nil)时传入的responseBody为nil,导致无法从响应体中提取缓存tokens。
      2. 两个渠道的cached_tokens位置不同:
        - 智普:标准位置 usage.prompt_tokens_details.cached_tokens
        - Moonshot:非标准位置 choices[].usage.cached_tokens
      
      处理方案:
      1. 传递body信息到applyUsagePostProcessing中
      2. 拆分智普和Moonshot的解析,并为Moonshot单独写一个解析方法。
      John Chen committed
  2. 29 Dec, 2025 4 commits
  3. 28 Dec, 2025 2 commits
    • feat: ionet integrate (#2105) · b10f1f7b
      * wip ionet integrate
      
      * wip ionet integrate
      
      * wip ionet integrate
      
      * ollama wip
      
      * wip
      
      * feat: ionet integration & ollama manage
      
      * fix merge conflict
      
      * wip
      
      * fix: test conn cors
      
      * wip
      
      * fix ionet
      
      * fix ionet
      
      * wip
      
      * fix model select
      
      * refactor: Remove `pkg/ionet` test files and update related Go source and web UI model deployment components.
      
      * feat: Enhance model deployment UI with styling improvements, updated text, and a new description component.
      
      * Revert "feat: Enhance model deployment UI with styling improvements, updated text, and a new description component."
      
      This reverts commit 8b75cb5bf0d1a534b339df8c033be9a6c7df7964.
      Seefs committed
  4. 26 Dec, 2025 10 commits
  5. 25 Dec, 2025 8 commits
  6. 24 Dec, 2025 8 commits
  7. 22 Dec, 2025 2 commits
  8. 21 Dec, 2025 5 commits