Skip to content

Commit 985f823

Browse files
committed
Adjust another error message
1 parent f6e83b4 commit 985f823

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/services/task.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export class TaskService {
146146
const projectId = environment.firebase?.projectId || '';
147147
if (error instanceof GoogleGenerativeAIFetchError) {
148148
if (error.message.indexOf('API key not valid') > 0) {
149-
userMessage = `Error loading Gemini API key. Please check GCP Console if API key was created at https://console.cloud.google.com/apis/credentials?project=${projectId}`;
149+
userMessage = `Error loading Gemini API key. Please check the Google Cloud console if the API key was created at https://console.cloud.google.com/apis/credentials?project=${projectId}`;
150150
} else {
151151
userMessage = error.message;
152152
}

0 commit comments

Comments
 (0)