Skip to content

Commit

Permalink
[Obs AI Assistant] Check KB status via editor
Browse files Browse the repository at this point in the history
  • Loading branch information
viduni94 committed Dec 9, 2024
1 parent 7637a35 commit b7ba179
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {

it('returns correct status after knowledge base is setup', async () => {
const res = await observabilityAIAssistantAPIClient
.slsAdmin({
.slsEditor({
endpoint: 'GET /internal/observability_ai_assistant/kb/status',
})
.expect(200);
Expand All @@ -58,7 +58,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
await deleteInferenceEndpoint({ es, name: AI_ASSISTANT_KB_INFERENCE_ID });

const res = await observabilityAIAssistantAPIClient
.slsAdmin({
.slsEditor({
endpoint: 'GET /internal/observability_ai_assistant/kb/status',
})
.expect(200);
Expand Down

0 comments on commit b7ba179

Please sign in to comment.