Skip to content

feat(console): Access page Chat + Native API tabs (P0) - #383

Merged
caigee-cmd merged 2 commits into
mainfrom
feat/access-try-tabs
Oct 24, 2026
Merged

caigee-cmd merged 2 commits into
mainfrom
feat/access-try-tabs

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • Rename sidebar / page copy from「API 接入」to 接入与调试 / Access & try (navAccess); route stays /access.
  • Restructure Access page: shared header + account / model / Base URL controls, then HeroUI Tabs (Usage/System pattern with Tabs.Indicator + transition-none).
    • 对话: light single-turn streaming Chat Completions (streamChat SSE via /api/chat); Stop via AbortController; no multi-turn persistence.
    • 原生 API: existing non-stream playground, raw JSON, curl.
  • EndpointList remains at the page bottom.
  • Changelog fragment + npm run sync embedded static.

Out of scope

Test plan

  • Open /access — sidebar shows「接入与调试」/ Access & try
  • Shared account + model + Base URL apply to both tabs
  • Chat tab: send one message → streamed reply; Stop aborts; next send does not keep prior turns
  • Native API tab: non-stream test, raw JSON, curl still work
  • EndpointList visible below tabs
  • No decorative title icons / no fade-in after skeleton; grayscale Studio Admin look

caigee-cmd and others added 2 commits October 24, 2026 19:20
Rename nav to Access & try / 接入与调试. Split /access into shared
account/model/Base URL controls plus HeroUI Tabs: single-turn streaming
Chat Completions and the existing non-stream playground + curl. Add
streamChat SSE helper; keep EndpointList at page bottom.
@caigee-cmd
caigee-cmd merged commit 6abb399 into main Oct 24, 2026
6 checks passed
@caigee-cmd
caigee-cmd deleted the feat/access-try-tabs branch October 24, 2026 11:57
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