Skip to content

[Bug/错误]: 非流式传输的请求报错 Model not found #922

@Floretteee

Description

@Floretteee

Pre-submission Checklist / 提交前检查

  • I have searched the existing issues and this bug has not been reported / 我已搜索现有 issues,此 Bug 尚未被报告
  • I have read the documentation / 我已阅读文档
  • I am using the latest version of AxonHub / 我正在使用 AxonHub 的最新版本

Bug Description / Bug 描述

非流式传输的请求报错 Model not found,流式传输可以正常返回结果。

Image

控制台无 非流式记录

Image

Steps to Reproduce / 复现步骤

使用 CodeX 渠道,使用 gpt-5.2 模型,尝试一次流式和非流式传输查看结果。

Expected Behavior / 期望行为

均可正常返回内容。

Actual Behavior / 实际行为

非流式传输的请求报错 Model not found,流式传输可以正常返回结果。

Operating System / 操作系统

Linux (Ubuntu/Debian) / Linux(Ubuntu/Debian)

AxonHub Version / AxonHub 版本

v0.9.9

Usage Scenario / 使用场景

API

API Format / API 格式

OpenAI - Chat Completions (/v1/chat/completions) / OpenAI 聊天补全

Channel Type / 渠道类型

Custom/Other / 自定义/其他

Logs / 日志

root@LXCNAME:~#  tail -f /root/.config/axonhub/axonhub.log
{"level":"INFO","time":"2026-02-28T11:05:55Z","logger":"global","message":"skipping migration: system version is equal or newer than migration version","system_version":"v0.9.9","migration_version":"v0.4.0"}
{"level":"INFO","time":"2026-02-28T11:05:55Z","logger":"global","message":"Using memory cache"}
{"level":"INFO","time":"2026-02-28T11:05:55Z","logger":"global","message":"Using memory cache"}
{"level":"INFO","time":"2026-02-28T11:05:55Z","logger":"global","message":"indexed cache initial load completed","name":"axonhub:api_keys","count":2}
{"level":"WARN","time":"2026-02-28T11:05:55Z","logger":"global","message":"failed to load channel performances","error":"failed to load channel metrics: failed to query channel metrics: sql/scan: failed scanning rows: sql: Scan error on column index 2, name \"last_failure_at\": unsupported Scan, storing driver.Value type string into type *time.Time"}
{"level":"INFO","time":"2026-02-28T11:05:55Z","logger":"global","message":"loaded channels","count":6}
{"level":"INFO","time":"2026-02-28T11:05:55Z","logger":"global","message":"cache refreshed","name":"axonhub:enabled_channels","update_time":"2026-02-28T08:55:29Z"}
{"level":"INFO","time":"2026-02-28T11:05:55Z","logger":"global","message":"Using memory cache"}
{"level":"INFO","time":"2026-02-28T11:05:55Z","logger":"global","message":"refreshed data storage filesystems","count":0}
{"level":"INFO","time":"2026-02-28T11:05:55Z","logger":"global","message":"Using memory cache"}

Additional Context / 其他补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions