浏览代码

chore: add debug logging

Paul Klumpp 1 周之前
父节点
当前提交
9a34bbe455
共有 1 个文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      .opencode/plugins/opencode-openai-compatible-model-discovery/index.ts

+ 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>;