Normalize doubled provider/model routes on cron create and fire.

Agents often pass zte/Qwen3-… as both provider and model; split combined routes so scheduled runs resolve a real model.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-10 21:46:16 +08:00
parent 3ce60b200c
commit 4472a9c74b
5 changed files with 95 additions and 15 deletions

View file

@ -48,7 +48,7 @@ export {
workspaceVisibleIds,
} from './isolation.js'
export { wrapScheduledPrompt } from './prompt.js'
export { normalizeJobModel } from './store.js'
export { normalizeJobModel, splitProviderModel } from './store.js'
export {
assertCanAccessJob,
canViewAllJobs,