Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] [Observability AI Assistant] fix: Improve tool choice handling in Observability AI Assistant client (#203928) #204029

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

…ervability AI Assistant client (elastic#203928)

Error:

https://github.com/user-attachments/assets/3ada87df-9c60-4916-aa5a-7f95fb2dc275

logs:
``` bash
[2024-12-11T11:03:19.666-05:00][WARN ][plugins.actions.gen-ai] action execution failure: .gen-ai:azure-gpt4: GPT-4 Azure: an error occurred while running the action: Status code: 400. Message: API Error: #model_error - [] should be non-empty - 'tools'; retry: true
[2024-12-11T11:03:19.669-05:00][ERROR][plugins.observabilityAIAssistant.service] Error: Unexpected error
    at createInferenceInternalError (/Users/viduni/Workspace/Elastic/kibana/x-pack/packages/ai-infra/inference-common/src/errors.ts:49:10
```

---------

Co-authored-by: Viduni Wickramarachchi <[email protected]>
(cherry picked from commit 4455087)
@arturoliduena
Copy link
Contributor

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

merge conflict between base and head

@elasticmachine
Copy link
Contributor

elasticmachine commented Dec 13, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: bdbdbdc
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-204029-bdbdbdc1b4c7

Metrics [docs]

✅ unchanged

History

cc @arturoliduena

@arturoliduena arturoliduena merged commit d323662 into elastic:8.x Dec 13, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ci:project-deploy-observability Create an Observability project Team:Obs AI Assistant Observability AI Assistant
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants