elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.82k stars 8.21k forks source link

Failing test: Observability AI Assistant API Integration tests.x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/complete·spec·ts - Observability AI Assistant API tests complete/complete.spec.ts /internal/observability_ai_assistant/chat/complete returns a streaming response from the server #197175

Open kibanamachine opened 6 days ago

kibanamachine commented 6 days ago

A test failed on a tracked branch

Error: expected [ 'messageAdd',
  'messageAdd',
  'bufferFlush',
  'chatCompletionChunk',
  'messageAdd' ] to sort of equal [ 'messageAdd',
  'messageAdd',
  'chatCompletionChunk',
  'messageAdd' ]
    at Assertion.assert (expect.js:100:11)
    at Assertion.eql (expect.js:244:8)
    at Context.<anonymous> (complete.spec.ts:188:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:74:16) {
  actual: '[\n' +
    '  "messageAdd"\n' +
    '  "messageAdd"\n' +
    '  "bufferFlush"\n' +
    '  "chatCompletionChunk"\n' +
    '  "messageAdd"\n' +
    ']',
  expected: '[\n  "messageAdd"\n  "messageAdd"\n  "chatCompletionChunk"\n  "messageAdd"\n]',
  showDiff: true
}

First failure: kibana-on-merge - main

elasticmachine commented 6 days ago

Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant)