stricter checks
CI / verify (pull_request) Successful in 12s

This commit is contained in:
2026-10-10 15:16:53 +02:00
parent ced43fbb11
commit 513d51f702
30 changed files with 984 additions and 470 deletions
+5 -5
View File
@@ -10,13 +10,13 @@ export default Plugin.define({
const providerID = Provider.ID.make("fixture");
yield* context.provider.transform((editor) =>
editor.add({
info: {
...Provider.Info.empty(providerID),
// Copy own fields like the former spread; the editor accepts plain info.
info: Object.assign({}, Provider.Info.empty(providerID), {
name: "Isolated fixture",
activation: "enabled",
activation: "enabled" as const,
package: "@opencode/ai/providers/openai-compatible",
settings: { baseURL: process.env.FIXTURE_MODEL_URL! },
},
settings: { baseURL: process.env["FIXTURE_MODEL_URL"] ?? "" },
}),
models: ["gpt-6-luna", "gpt-6.1-sol", "gpt-6-astra"].map((id) =>
Model.Info.default(providerID, Model.ID.make(id)),
),