Add extended completions
What does this MR do and why?
Extend Gitlab::Llm::CompletionsFactory
for JH.
This MR extracts common logic for MRs:
::Gitlab::Llm::ClientFactory.ai_provider
is the option entry of AI provider, through ::Settings.gitlab['ai_provider']
.
Gitlab::Llm::CompletionsFactory
allows each specific provider (such as ChatGLM or other AI provider) to provide alternative implementations.
Screenshots or screen recordings
Non UI
How to set up and validate locally
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
由 Baodong 编辑于