Skip to content

fix(ui): Access 对比度与 Raw 账号/模型/三格式 - #429

Merged
caigee-cmd merged 1 commit into
mainfrom
fix/access-contrast-raw-account-model
Oct 28, 2026
Merged

caigee-cmd merged 1 commit into
mainfrom
fix/access-contrast-raw-account-model

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

结论

Access(接入与调试)页对比度更清晰;Raw API 与 Chat 共用账号/模型,并可在 Chat Completions / Anthropic Messages / OpenAI Responses 三种已有公开端点间切换。未部署、未发版。

为什么

  • Chat 区偏平、历史栏分隔弱,solid-glass(.card)与 bg-surface-secondary 对齐控制台其余卡片。
  • Raw 此前缺账号/模型与格式选择;三种路径本就在 overview.access,应复用而非另开 API。

改动

区域 内容
ChatComposer 导出 CompactSelect;composer well 用 card … bg-surface
ChatHistoryRail border-separator/70 + bg-surface-secondary
AccessPage 外壳 Chat 主壳 card … bg-surface
RawApiPanel FilterToggle:Chat / Messages / Responses;一行 hint;账号+模型 CompactSelect
overview.ts RawApiFormat、buildRawPayload、testRawApi(POST /v1/*);Chat 流式仍走 streamChat
i18n en/zh rawFormat* 文案
webui static npm run sync 嵌入

未做(按约定)

自测

  • frontend: npm run lint(仅既有 warning)、npm run build、npm run sync 通过

强化 Chat 区 solid-glass 与历史栏分隔;Raw API 共用账号/模型
CompactSelect,并用 FilterToggle 在 Chat / Messages / Responses
间切换(复用 overview.access 路径与 buildRawPayload / testRawApi)。
@caigee-cmd
caigee-cmd merged commit d2b65c6 into main Oct 28, 2026
6 checks passed
@caigee-cmd
caigee-cmd deleted the fix/access-contrast-raw-account-model branch October 28, 2026 15:50
caigee-cmd added a commit that referenced this pull request Oct 28, 2026
)

Bilingual notes for #429/#430 so the next patch release can extract notes.

Co-authored-by: caigee-cmd <210803857+caigee-cmd@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant