Codex eef59c74ee fix: replace hardcoded backend profile validation with isBackendProfile()
The session creation route had a hardcoded check for only codex/deepseek/minimax-m3
profiles. Since ofcx-go was added to BackendProfile type and backend-profiles.ts
spec list, the validation must use isBackendProfile() from the shared module so
that adding new profiles only requires one data change, not scattered string checks.

Refs pikasTech/HWLAB#1034
2026-06-07 21:03:47 +08:00
2026-05-29 17:38:47 +08:00
2026-05-29 10:52:41 +08:00
S
Description
UniDesk controlled mirror for pikasTech/agentrun
7.1 MiB
Languages
TypeScript 98.5%
Shell 0.8%
JavaScript 0.6%