fix: restore repo typecheck after provider request settings change
The required Provider.Request settings field and tsgo's literal narrowing broke typecheck in llm and core; CI missed it because turbo replayed cached typecheck results for packages whose own sources did not change. - anthropic-messages: lower adaptive thinking display with explicit literal branches so tsgo keeps the union type - runner model: annotate providerOptions with its index-signature return type - tests: construct provider requests with the now-required settings field and copy them mutably for plugin drafts
This commit is contained in:
parent
3898cac63d
commit
603fa77705
12 changed files with 32 additions and 18 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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue