AutoGPT/benchmark/agbenchmark/utils
Krzysztof Czerwinski 7cb4d4a903
feat(forge, agent, benchmark): Upgrade to Pydantic v2 (#7280)
Update Pydantic dependency of `autogpt`, `forge` and `benchmark` to `^2.7`
[Pydantic Migration Guide](https://docs.pydantic.dev/2.7/migration/)

- Migrate usages of now-deprecated functions to their replacements
- Update `Field` definitions
  - Ellipsis `...` for required fields is deprecated
  - `Field` no longer supports extra `kwargs`, replace use of this feature with field metadata
- Replace `Config` class for specifying model configuration with `model_config = ConfigDict(..)`
- Removed `ModelContainer` in `BaseAgent`, component configuration dict is now directly serialized using Pydantic v2 helper functions
- Forked `agent-protocol` and updated `packages/client/python` for Pydantic v2 support: https://github.com/Significant-Gravitas/agent-protocol

---------

Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
2024-07-02 20:45:32 +02:00
..
dependencies feat(forge, agent, benchmark): Upgrade to Pydantic v2 (#7280) 2024-07-02 20:45:32 +02:00
data_types.py feat(benchmark/cli): Add `challenge list`, `challenge info` subcommands 2024-02-16 15:17:11 +01:00
get_data_from_helicone.py Set up unified pre-commit + CI w/ linting + type checking & FIX EVERYTHING (#7171) 2024-05-28 05:04:21 +02:00
logging.py AGBenchmark codebase clean-up (#6650) 2024-01-02 22:23:09 +01:00
prompts.py Set up unified pre-commit + CI w/ linting + type checking & FIX EVERYTHING (#7171) 2024-05-28 05:04:21 +02:00
utils.py feat(forge, agent, benchmark): Upgrade to Pydantic v2 (#7280) 2024-07-02 20:45:32 +02:00