Skip to content
代码片段 群组 项目
未验证 提交 b90b8a4d 编辑于 作者: Alejandro Rodríguez's avatar Alejandro Rodríguez
浏览文件

Improve adaptability of AIGW completions

This implements a series of improvements deemed necessary over the
implementation of prompt migrations
(https://gitlab.com/gitlab-org/gitlab/-/merge_requests/165884 and
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/167364), in
regards to allowing feature teams to incorporate their own specific
behavior. Concretely, these changes accomplish the following:

- Allow signaling an error when processing the inputs
- Allow an early return when the AI action shouldn't be executed
- Facilitate overriding the response modifier
- Facilitate feature-specific error structures
- Allow post-processing the AIGW response before sending it to the
  modifier
- Notify callers when an unexpected error occurs
上级 016b580e
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册