refactor: use Pydantic models to describe agent configuration
What does this merge request do and why?
This MR implements the BaseAgentConfig
Pydantic model so we can describe and manage our agent configurations without using generic dict types.
How to set up and validate locally
- Check out to this merge request's branch.
- Ensure a local Docker image built successfully.
docker build --platform linux/amd64 -t ai-gateway:dev .
- Run a local service on Docker.
docker run --platform linux/amd64 --rm \ -p 5052:5052 \ -e AIGW_AUTH__BYPASS_EXTERNAL=true \ -v $PWD:/app -it ai-gateway:dev
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed.