Repository navigation
Replies: 1 comment
|
Not a regression, it's a documented change since 0.2.1-alpha.3. The shipped headless profile disables the credentials, authorization and deepseek-account services in its cordis.patch.yml, so llm-pi-ai never gets a store and only checks the launch environment: process env, then /.env, then ~/.dsh/.env. Put ZAI_CODING_CN_API_KEY in ~/.dsh/.env, or apply the three-row restoration patch from packages/bundle/headless/README.md to your profile. The v0.2.1-alpha.2 upgrade guide covers it. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
环境
llm-pi-ai(如zai-coding-cn/glm-5.3-flash)复现
DSH_HOME;headless profile 配一个凭据走 refs 的模型路由~/.dsh/.credentials.yaml内含真实 key(内联值):dsh --profile headless "hi"(stdin 保持打开)实际
秒败,exit 1——两条路由同样失败。
期望
解析器回退到 credentials 存储
refs:的值(0.2.0-rc.2 行为:无 env key 时,每日模型调用任务全部从存储解析成功)。备注
refs:中 key 存在且非空(内联值,无 records 间接引用).credentials.yaml重写为 refs/records 结构(观察到 mtime 变化)——可能相关绕行
在派生环境导出 keys(我们把它们注入了调度器 LaunchAgent 的
EnvironmentVariables)。All reactions