mirror of
https://github.com/different-ai/openwork
synced 2026-04-25 17:15:34 +02:00
fix(providers): hide anthropic browser auth (#1395)
This commit is contained in:
@@ -100,7 +100,7 @@ export default function ProviderAuthModal(props: ProviderAuthModalProps) {
|
||||
|
||||
const isClaudeProMaxMethod = (method: ProviderAuthMethod) => {
|
||||
const label = method.label.toLowerCase();
|
||||
return method.type === "oauth" && label.includes("pro/max");
|
||||
return method.type === "oauth" && (label.includes("pro/max") || label.includes("create an api key"));
|
||||
};
|
||||
|
||||
const entries = createMemo<ProviderAuthEntry[]>(() => {
|
||||
|
||||
BIN
pr/anthropic-hide-create-api-key/anthropic-api-key-screen.png
Normal file
BIN
pr/anthropic-hide-create-api-key/anthropic-api-key-screen.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 122 KiB |
BIN
pr/anthropic-hide-create-api-key/anthropic-connect-modal.png
Normal file
BIN
pr/anthropic-hide-create-api-key/anthropic-connect-modal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 124 KiB |
BIN
pr/anthropic-hide-create-api-key/anthropic-filtered-modal.png
Normal file
BIN
pr/anthropic-hide-create-api-key/anthropic-filtered-modal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 124 KiB |
Reference in New Issue
Block a user