GitHub Action 2 месяцев назад
Родитель
Сommit
76b10d85ee
1 измененных файлов с 12 добавлено и 2 удалено
  1. 12 2
      packages/opencode/src/cli/cmd/tui/component/dialog-provider.tsx

+ 12 - 2
packages/opencode/src/cli/cmd/tui/component/dialog-provider.tsx

@@ -77,12 +77,22 @@ export function createDialogProviderOptions() {
               })
               })
               if (result.data?.method === "code") {
               if (result.data?.method === "code") {
                 dialog.replace(() => (
                 dialog.replace(() => (
-                  <CodeMethod providerID={provider.id} title={method.label} index={index} authorization={result.data!} />
+                  <CodeMethod
+                    providerID={provider.id}
+                    title={method.label}
+                    index={index}
+                    authorization={result.data!}
+                  />
                 ))
                 ))
               }
               }
               if (result.data?.method === "auto") {
               if (result.data?.method === "auto") {
                 dialog.replace(() => (
                 dialog.replace(() => (
-                  <AutoMethod providerID={provider.id} title={method.label} index={index} authorization={result.data!} />
+                  <AutoMethod
+                    providerID={provider.id}
+                    title={method.label}
+                    index={index}
+                    authorization={result.data!}
+                  />
                 ))
                 ))
               }
               }
             }
             }