-
Alejandro Rodríguez authored
The AI Gateway client is currently tailored to perform requests to the /v1/chat/agent endpoint. In the near future we'll want to use it to perform requests to other endpoints, which use different request and response structures. We move the code specific to the chat endpoint to the relevant request class, and adjust all the callers accordingly.