Parcourir la source

chore: add debug logging

Paul Klumpp il y a 1 semaine
Parent
commit
9a34bbe455

+ 1 - 0
.opencode/plugins/opencode-openai-compatible-model-discovery/index.ts

@@ -86,6 +86,7 @@ export default Plugin.define({
   id: "opencode.openai-compatible-model-discovery",
   async setup(ctx) {
     const providers = readConfigProviders();
+    console.error("[openai-discovery] config providers:", Object.keys(providers));
     const targets: Target[] = [];
     for (const [id, info] of Object.entries(providers)) {
       const p = info as Record<string, unknown>;