Skip to content

Commit

Permalink
Attempt at identifying point of failure
Browse files Browse the repository at this point in the history
  • Loading branch information
CoenWarmer committed Aug 16, 2023
1 parent b219958 commit d14ea6e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class ObservabilityAIAssistantService {
return {
run: async () => {
if (this.kbService) {
await this.kbService.processQueue();
// await this.kbService.processQueue();
}
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,14 @@ export class KnowledgeBaseService {
await installModel();
}
} catch (error) {
if (
error instanceof errors.ResponseError &&
error.body.error.type === 'resource_not_found_exception'
) {
await installModel();
} else {
throw error;
}
// if (
// error instanceof errors.ResponseError &&
// error.body.error.type === 'resource_not_found_exception'
// ) {
// await installModel();
// } else {
throw error;
// }
}

try {
Expand Down

0 comments on commit d14ea6e

Please sign in to comment.