Rebuild and update project functionality
This commit is contained in:
@@ -53,6 +53,10 @@ export class OllamaCloudService {
|
||||
};
|
||||
}
|
||||
|
||||
hasAuth(): boolean {
|
||||
return !!this.config.apiKey;
|
||||
}
|
||||
|
||||
private ensureApiKey(): string {
|
||||
if (this.config.apiKey) {
|
||||
return this.config.apiKey;
|
||||
|
||||
Reference in New Issue
Block a user