Pass `stop_sequences` to AI Gateway `v1/agent/chat` endpoint
Problem
In the Llm::Chain::Requests::Anthropic
, we're passing Stop Sequences and Temperature parameters to Anthropic. https://gitlab.com/gitlab-org/gitlab/-/blob/37f3b8d781312fb1d093b9ef8d52eb3261c943c9/ee/lib/gitlab/llm/chain/requests/anthropic.rb#L38-39.
We should make sure that the same parameters can be passed to the AI Gateway through the AI Gateway client.
Proposal
Pass stop_sequences
and temperature
to AI Gateway v1/agent/chat
endpoint