fix(ai-public): hide public pool endpoint from users

This commit is contained in:
2026-04-06 14:28:37 +08:00
parent 6ae9f49b4c
commit 13d0d7707a
4 changed files with 24 additions and 9 deletions
-2
View File
@@ -51,7 +51,6 @@ export type ListAiBindingsResponse = {
enabled: boolean;
providerName: string | null;
model: string | null;
endpoint: string | null;
hasApiKey: boolean;
} | null;
};
@@ -122,7 +121,6 @@ export class AiService {
enabled: publicPool.enabled,
providerName: publicPool.providerName,
model: publicPool.model,
endpoint: publicPool.endpoint,
hasApiKey: Boolean(publicPool.encryptedApiKey)
}
: null