소스 검색

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