AutoGPT/benchmark/agbenchmark/challenges/verticals/code
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
..
1_three_sum Set up unified pre-commit + CI w/ linting + type checking & FIX EVERYTHING (#7171) 2024-05-28 05:04:21 +02:00
2_password_generator Set up unified pre-commit + CI w/ linting + type checking & FIX EVERYTHING (#7171) 2024-05-28 05:04:21 +02:00
3_file_organizer Add more data challenges (#5390) 2023-09-28 19:30:08 -07:00
4_url_shortener Set up unified pre-commit + CI w/ linting + type checking & FIX EVERYTHING (#7171) 2024-05-28 05:04:21 +02:00
5_tic_tac_toe Set up unified pre-commit + CI w/ linting + type checking & FIX EVERYTHING (#7171) 2024-05-28 05:04:21 +02:00
6_battleship feat(forge, agent, benchmark): Upgrade to Pydantic v2 (#7280) 2024-07-02 20:45:32 +02:00