refactor(core): simplify system context into a belief model (#34917)

This commit is contained in:
Kit Langton
2026-07-02 09:32:35 -04:00
committed by GitHub
parent 7ec7413fdb
commit 4045041554
40 changed files with 914 additions and 805 deletions
@@ -373,7 +373,7 @@ describe("OpencodePlugin", () => {
cost: cost(1),
})
catalog.provider.update(provider.id, (draft) => {
draft.request = provider.request
draft.request = { settings: {}, headers: {}, body: { apiKey: "configured" } }
})
catalog.model.update(provider.id, model.id, (draft) => {
draft.cost = [...model.cost]