mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 20:24:33 +00:00
feat: add cloudflare ai gateway provider
This commit is contained in:
@@ -93,7 +93,7 @@ export const resolveAuthLabel = async (
|
||||
|
||||
if (profile.type === "api_key") {
|
||||
return {
|
||||
label: `${profileId} api-key ${maskApiKey(profile.key)}${more}`,
|
||||
label: `${profileId} api-key ${maskApiKey(profile.key ?? "")}${more}`,
|
||||
source: "",
|
||||
};
|
||||
}
|
||||
@@ -154,7 +154,7 @@ export const resolveAuthLabel = async (
|
||||
}
|
||||
if (profile.type === "api_key") {
|
||||
const suffix = flags.length > 0 ? ` (${flags.join(", ")})` : "";
|
||||
return `${profileId}=${maskApiKey(profile.key)}${suffix}`;
|
||||
return `${profileId}=${maskApiKey(profile.key ?? "")}${suffix}`;
|
||||
}
|
||||
if (profile.type === "token") {
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user