AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
feat(forge, agent, benchmark): Upgrade to Pydantic v2 (#7280)
Krzysztof Czerwinski7cb4d4a90300
diff --git a/autogpt/autogpt/agent_factory/configurators.py b/autogpt/autogpt/agent_factory/configurators.pyindex c58aabd396..4c1dc8e1f2 100644--- a/autogpt/autogpt/agent_factory/configurators.py+++ b/autogpt/autogpt/agent_factory/configurators.py@@ -104,5 +104,5 @@ def create_agent_state(allow_fs_access=not app_config.restrict_to_workspace,use_functions_api=app_config.openai_functions,),- history=Agent.default_settings.history.copy(deep=True),+ history=Agent.default_settings.history.model_copy(deep=True),)diff --git a/autogpt/autogpt/agent_factory/profile_generator.py b/autogpt/autogpt/agent_factory/profile_generator.pyindex ecb4a24490..c4c0f56613 100644--- a/autogpt/autogpt/agent_factory/profile_generator.py+++ b/autogpt/autogpt/agent_factory/profile_generator.py@@ -137,7 +137,7 @@ class AgentProfileGeneratorConfiguration(SystemConfiguration):required=True,),},- ).dict()+ ).model_dump())@@ -156,7 +156,7 @@ class AgentProfileGenerator(PromptStrategy):self._model_classification = model_classificationself._system_prompt_message = system_promptself._user_prompt_template = user_prompt_template- self._create_agent_function = CompletionModelFunction.parse_obj(+ self._create_agent_function = CompletionModelFunction.model_validate(create_agent_function)@@ -222,7 +222,7 @@ async def generate_agent_profile_for_task(AIConfig: The AIConfig object tailored to the user's input"""agent_profile_generator = AgentProfileGenerator(- **AgentProfileGenerator.default_configuration.dict() # HACK+ **AgentProfileGenerator.default_configuration.model_dump() # HACK)prompt = agent_profile_generator.build_prompt(task)diff --git a/autogpt/autogpt/agents/agent.py b/autogpt/autogpt/agents/agent.pyindex 650589a0b5..75bc656a7e 100644--- a/autogpt/autogpt/agents/agent.py+++ b/autogpt/autogpt/agents/agent.py@@ -100,7 +100,9 @@ class Agent(BaseAgent[OneShotAgentActionProposal], Configurable[AgentSettings]):super().__init__(settings)self.llm_provider = llm_provider- prompt_config = OneShotAgentPromptStrategy.default_configuration.copy(deep=True)+ prompt_config = OneShotAgentPromptStrategy.default_configuration.model_copy(+ deep=True+ )prompt_config.use_functions_api = (settings.config.use_functions_api# Anthropic currently doesn't support tools + prefilling :(@@ -160,7 +162,7 @@ class Agent(BaseAgent[OneShotAgentActionProposal], Configurable[AgentSettings]):constraints = await self.run_pipeline(DirectiveProvider.get_constraints)best_practices = await self.run_pipeline(DirectiveProvider.get_best_practices)- directives = self.state.directives.copy(deep=True)+ directives = self.state.directives.model_copy(deep=True)directives.resources += resourcesdirectives.constraints += constraintsdirectives.best_practices += best_practicesdiff --git a/autogpt/autogpt/agents/prompt_strategies/one_shot.py b/autogpt/autogpt/agents/prompt_strategies/one_shot.pyindex d232e1ee82..ef2f39886a 100644--- a/autogpt/autogpt/agents/prompt_strategies/one_shot.py+++ b/autogpt/autogpt/agents/prompt_strategies/one_shot.py@@ -28,15 +28,13 @@ _RESPONSE_INTERFACE_NAME = "AssistantResponse"class AssistantThoughts(ModelWithSummary):observations: str = Field(- ..., description="Relevant observations from your last action (if any)"+ description="Relevant observations from your last action (if any)")- text: str = Field(..., description="Thoughts")- reasoning: str = Field(..., description="Reasoning behind the thoughts")- self_criticism: str = Field(..., description="Constructive self-criticism")- plan: list[str] = Field(- ..., description="Short list that conveys the long-term plan"- )- speak: str = Field(..., description="Summary of thoughts, to say to user")+ text: str = Field(description="Thoughts")+ reasoning: str = Field(description="Reasoning behind the thoughts")+ self_criticism: str = Field(description="Constructive self-criticism")+ plan: list[str] = Field(description="Short list that conveys the long-term plan")+ speak: str = Field(description="Summary of thoughts, to say to user")def summary(self) -> str:return self.text@@ -96,7 +94,9 @@ class OneShotAgentPromptStrategy(PromptStrategy):logger: Logger,):self.config = configuration- self.response_schema = JSONSchema.from_dict(OneShotAgentActionProposal.schema())+ self.response_schema = JSONSchema.from_dict(+ OneShotAgentActionProposal.model_json_schema()+ )self.logger = logger@property@@ -182,7 +182,7 @@ class OneShotAgentPromptStrategy(PromptStrategy):)def response_format_instruction(self, use_functions_api: bool) -> tuple[str, str]:- response_schema = self.response_schema.copy(deep=True)+ response_schema = self.response_schema.model_copy(deep=True)assert response_schema.propertiesif use_functions_api and "use_tool" in response_schema.properties:del response_schema.properties["use_tool"]@@ -274,6 +274,8 @@ class OneShotAgentPromptStrategy(PromptStrategy):raise InvalidAgentResponseError("Assistant did not use a tool")assistant_reply_dict["use_tool"] = response.tool_calls[0].function- parsed_response = OneShotAgentActionProposal.parse_obj(assistant_reply_dict)+ parsed_response = OneShotAgentActionProposal.model_validate(+ assistant_reply_dict+ )parsed_response.raw_message = response.copy()return parsed_responsediff --git a/autogpt/autogpt/app/agent_protocol_server.py b/autogpt/autogpt/app/agent_protocol_server.pyindex 5894fee6aa..c0432bcab1 100644--- a/autogpt/autogpt/app/agent_protocol_server.py+++ b/autogpt/autogpt/app/agent_protocol_server.py@@ -314,7 +314,7 @@ class AgentProtocolServer:""if tool_result is Noneelse (- orjson.loads(tool_result.json())+ orjson.loads(tool_result.model_dump_json())if not isinstance(tool_result, ActionErrorResult)else {"error": str(tool_result.error),@@ -327,7 +327,7 @@ class AgentProtocolServer:if last_proposal and tool_resultelse {}),- **assistant_response.dict(),+ **assistant_response.model_dump(),}task_cumulative_cost = agent.llm_provider.get_incurred_cost()@@ -451,7 +451,9 @@ class AgentProtocolServer:"""task_llm_budget = self._task_budgets[task.task_id]- task_llm_provider_config = self.llm_provider._configuration.copy(deep=True)+ task_llm_provider_config = self.llm_provider._configuration.model_copy(+ deep=True+ )_extra_request_headers = task_llm_provider_config.extra_request_headers_extra_request_headers["AP-TaskID"] = task.task_idif step_id:@@ -459,7 +461,7 @@ class AgentProtocolServer:if task.additional_input and (user_id := task.additional_input.get("user_id")):_extra_request_headers["AutoGPT-UserID"] = user_id- settings = self.llm_provider._settings.copy()+ settings = self.llm_provider._settings.model_copy()settings.budget = task_llm_budgetsettings.configuration = task_llm_provider_configtask_llm_provider = self.llm_provider.__class__(diff --git a/autogpt/autogpt/app/config.py b/autogpt/autogpt/app/config.pyindex 4230ab422a..5a64c478dc 100644--- a/autogpt/autogpt/app/config.py+++ b/autogpt/autogpt/app/config.py@@ -5,7 +5,7 @@ import loggingimport osimport refrom pathlib import Path-from typing import Any, Optional, Union+from typing import Optional, Unionimport forgefrom forge.config.base import BaseConfig@@ -13,7 +13,7 @@ from forge.llm.providers import CHAT_MODELS, ModelNamefrom forge.llm.providers.openai import OpenAICredentials, OpenAIModelNamefrom forge.logging.config import LoggingConfigfrom forge.models.config import Configurable, UserConfigurable-from pydantic import SecretStr, validator+from pydantic import SecretStr, ValidationInfo, field_validatorlogger = logging.getLogger(__name__)@@ -91,15 +91,15 @@ class AppConfig(BaseConfig):default=AZURE_CONFIG_FILE, from_env="AZURE_CONFIG_FILE")- @validator("openai_functions")- def validate_openai_functions(cls, v: bool, values: dict[str, Any]):- if v:- smart_llm = values["smart_llm"]+ @field_validator("openai_functions")+ def validate_openai_functions(cls, value: bool, info: ValidationInfo):+ if value:+ smart_llm = info.data["smart_llm"]assert CHAT_MODELS[smart_llm].has_function_call_api, (f"Model {smart_llm} does not support tool calling. ""Please disable OPENAI_FUNCTIONS or choose a suitable model.")- return v+ return valueclass ConfigBuilder(Configurable[AppConfig]):diff --git a/autogpt/poetry.lock b/autogpt/poetry.lockindex 9742ed6b72..c32c8da22a 100644--- a/autogpt/poetry.lock+++ b/autogpt/poetry.lock@@ -10,7 +10,7 @@ files = []develop = false[package.dependencies]-agent-protocol-client = "^1.1.0"+agent-protocol-client = {git = "https://github.com/Significant-Gravitas/agent-protocol.git", subdirectory = "packages/client/python"}click = "^8.1.3"click-default-group = "^1.2.4"colorama = "^0.4.6"@@ -18,12 +18,14 @@ fastapi = "^0.109.1"gitpython = "^3.1.32"httpx = "^0.24.0"matplotlib = "^3.7.2"+multidict = "^6.0.5"networkx = "^3.1"openai = "^1.7.2"pandas = "^2.0.3"pexpect = "^4.8.0"psutil = "^5.9.5"-pydantic = "^1.10.9"+pydantic = "^2.7.2"+pydantic-settings = "^2.3.4"pytest = "^7.3.2"pytest-asyncio = "^0.23.3"python-dotenv = "^1.0.0"@@ -44,17 +46,22 @@ name = "agent-protocol-client"version = "1.1.0"description = "Agent Communication Protocol Client"optional = true-python-versions = ">=3.7,<4.0"-files = [- {file = "agent_protocol_client-1.1.0-py3-none-any.whl", hash = "sha256:0e8c6c97244189666ed18e320410abddce8c9dfb75437da1e590bbef3b6268be"},- {file = "agent_protocol_client-1.1.0.tar.gz", hash = "sha256:aa7e1042de1249477fdc29c2df08a44f2233dade9c02c1279e37c98e9d3a0d72"},-]+python-versions = "^3.7"+files = []+develop = false[package.dependencies]-aiohttp = ">=3.8.4,<4.0.0"-pydantic = ">=1.10.5,<2.0.0"-python-dateutil = ">=2.8.2,<3.0.0"-urllib3 = ">=1.25.3,<2.0.0"+aiohttp = "^3.8.4"+pydantic = ">=1.10.5, <3.0.0"+python-dateutil = "^2.8.2"+urllib3 = "^1.25.3"++[package.source]+type = "git"+url = "https://github.com/Significant-Gravitas/agent-protocol.git"+reference = "HEAD"+resolved_reference = "beb098517b0b9e255024d1b57df236f0329f4b1c"+subdirectory = "packages/client/python"[[package]]name = "aiohttp"@@ -166,6 +173,17 @@ files = [[package.dependencies]frozenlist = ">=1.1.0"+[[package]]+name = "annotated-types"+version = "0.7.0"+description = "Reusable constraint types to use with typing.Annotated"+optional = false+python-versions = ">=3.8"+files = [+ {file = "annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53"},+ {file = "annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"},+]+[[package]]name = "anthropic"version = "0.25.1"@@ -312,7 +330,7 @@ litellm = "^1.17.9"openai = "^1.7.2"Pillow = "*"playsound = "~1.2.2"-pydantic = "*"+pydantic = "^2.7.2"pylatexenc = "*"pypdf = "^3.1.0"python-docx = "*"@@ -332,7 +350,7 @@ watchdog = "4.0.0"webdriver-manager = "^4.0.1"[package.extras]-benchmark = ["agbenchmark @ file:///home/reinier/code/agpt/AutoGPT/benchmark"]+benchmark = ["agbenchmark @ file:///Users/czerwinski/Projects/AutoGPT/benchmark"][package.source]type = "directory"@@ -4314,55 +4332,132 @@ files = [[[package]]name = "pydantic"-version = "1.10.13"-description = "Data validation and settings management using python type hints"+version = "2.7.4"+description = "Data validation using Python type hints"optional = false-python-versions = ">=3.7"+python-versions = ">=3.8"files = [- {file = "pydantic-1.10.13-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:efff03cc7a4f29d9009d1c96ceb1e7a70a65cfe86e89d34e4a5f2ab1e5693737"},- {file = "pydantic-1.10.13-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:3ecea2b9d80e5333303eeb77e180b90e95eea8f765d08c3d278cd56b00345d01"},- {file = "pydantic-1.10.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1740068fd8e2ef6eb27a20e5651df000978edce6da6803c2bef0bc74540f9548"},- {file = "pydantic-1.10.13-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:84bafe2e60b5e78bc64a2941b4c071a4b7404c5c907f5f5a99b0139781e69ed8"},- {file = "pydantic-1.10.13-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:bc0898c12f8e9c97f6cd44c0ed70d55749eaf783716896960b4ecce2edfd2d69"},- {file = "pydantic-1.10.13-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:654db58ae399fe6434e55325a2c3e959836bd17a6f6a0b6ca8107ea0571d2e17"},- {file = "pydantic-1.10.13-cp310-cp310-win_amd64.whl", hash = "sha256:75ac15385a3534d887a99c713aa3da88a30fbd6204a5cd0dc4dab3d770b9bd2f"},- {file = "pydantic-1.10.13-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c553f6a156deb868ba38a23cf0df886c63492e9257f60a79c0fd8e7173537653"},- {file = "pydantic-1.10.13-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5e08865bc6464df8c7d61439ef4439829e3ab62ab1669cddea8dd00cd74b9ffe"},- {file = "pydantic-1.10.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e31647d85a2013d926ce60b84f9dd5300d44535a9941fe825dc349ae1f760df9"},- {file = "pydantic-1.10.13-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:210ce042e8f6f7c01168b2d84d4c9eb2b009fe7bf572c2266e235edf14bacd80"},- {file = "pydantic-1.10.13-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:8ae5dd6b721459bfa30805f4c25880e0dd78fc5b5879f9f7a692196ddcb5a580"},- {file = "pydantic-1.10.13-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f8e81fc5fb17dae698f52bdd1c4f18b6ca674d7068242b2aff075f588301bbb0"},- {file = "pydantic-1.10.13-cp311-cp311-win_amd64.whl", hash = "sha256:61d9dce220447fb74f45e73d7ff3b530e25db30192ad8d425166d43c5deb6df0"},- {file = "pydantic-1.10.13-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:4b03e42ec20286f052490423682016fd80fda830d8e4119f8ab13ec7464c0132"},- {file = "pydantic-1.10.13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f59ef915cac80275245824e9d771ee939133be38215555e9dc90c6cb148aaeb5"},- {file = "pydantic-1.10.13-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5a1f9f747851338933942db7af7b6ee8268568ef2ed86c4185c6ef4402e80ba8"},- {file = "pydantic-1.10.13-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:97cce3ae7341f7620a0ba5ef6cf043975cd9d2b81f3aa5f4ea37928269bc1b87"},- {file = "pydantic-1.10.13-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:854223752ba81e3abf663d685f105c64150873cc6f5d0c01d3e3220bcff7d36f"},- {file = "pydantic-1.10.13-cp37-cp37m-win_amd64.whl", hash = "sha256:b97c1fac8c49be29486df85968682b0afa77e1b809aff74b83081cc115e52f33"},- {file = "pydantic-1.10.13-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c958d053453a1c4b1c2062b05cd42d9d5c8eb67537b8d5a7e3c3032943ecd261"},- {file = "pydantic-1.10.13-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4c5370a7edaac06daee3af1c8b1192e305bc102abcbf2a92374b5bc793818599"},- {file = "pydantic-1.10.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7d6f6e7305244bddb4414ba7094ce910560c907bdfa3501e9db1a7fd7eaea127"},- {file = "pydantic-1.10.13-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d3a3c792a58e1622667a2837512099eac62490cdfd63bd407993aaf200a4cf1f"},- {file = "pydantic-1.10.13-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:c636925f38b8db208e09d344c7aa4f29a86bb9947495dd6b6d376ad10334fb78"},- {file = "pydantic-1.10.13-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:678bcf5591b63cc917100dc50ab6caebe597ac67e8c9ccb75e698f66038ea953"},- {file = "pydantic-1.10.13-cp38-cp38-win_amd64.whl", hash = "sha256:6cf25c1a65c27923a17b3da28a0bdb99f62ee04230c931d83e888012851f4e7f"},- {file = "pydantic-1.10.13-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:8ef467901d7a41fa0ca6db9ae3ec0021e3f657ce2c208e98cd511f3161c762c6"},- {file = "pydantic-1.10.13-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:968ac42970f57b8344ee08837b62f6ee6f53c33f603547a55571c954a4225691"},- {file = "pydantic-1.10.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9849f031cf8a2f0a928fe885e5a04b08006d6d41876b8bbd2fc68a18f9f2e3fd"},- {file = "pydantic-1.10.13-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:56e3ff861c3b9c6857579de282ce8baabf443f42ffba355bf070770ed63e11e1"},- {file = "pydantic-1.10.13-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f00790179497767aae6bcdc36355792c79e7bbb20b145ff449700eb076c5f96"},- {file = "pydantic-1.10.13-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:75b297827b59bc229cac1a23a2f7a4ac0031068e5be0ce385be1462e7e17a35d"},- {file = "pydantic-1.10.13-cp39-cp39-win_amd64.whl", hash = "sha256:e70ca129d2053fb8b728ee7d1af8e553a928d7e301a311094b8a0501adc8763d"},- {file = "pydantic-1.10.13-py3-none-any.whl", hash = "sha256:b87326822e71bd5f313e7d3bfdc77ac3247035ac10b0c0618bd99dcf95b1e687"},- {file = "pydantic-1.10.13.tar.gz", hash = "sha256:32c8b48dcd3b2ac4e78b0ba4af3a2c2eb6048cb75202f0ea7b34feb740efc340"},-]--[package.dependencies]-typing-extensions = ">=4.2.0"+ {file = "pydantic-2.7.4-py3-none-any.whl", hash = "sha256:ee8538d41ccb9c0a9ad3e0e5f07bf15ed8015b481ced539a1759d8cc89ae90d0"},+ {file = "pydantic-2.7.4.tar.gz", hash = "sha256:0c84efd9548d545f63ac0060c1e4d39bb9b14db8b3c0652338aecc07b5adec52"},+]++[package.dependencies]+annotated-types = ">=0.4.0"+pydantic-core = "2.18.4"+typing-extensions = ">=4.6.1"++[package.extras]+email = ["email-validator (>=2.0.0)"]++[[package]]+name = "pydantic-core"+version = "2.18.4"+description = "Core functionality for Pydantic validation and serialization"+optional = false+python-versions = ">=3.8"+files = [+ {file = "pydantic_core-2.18.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:f76d0ad001edd426b92233d45c746fd08f467d56100fd8f30e9ace4b005266e4"},+ {file = "pydantic_core-2.18.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:59ff3e89f4eaf14050c8022011862df275b552caef8082e37b542b066ce1ff26"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a55b5b16c839df1070bc113c1f7f94a0af4433fcfa1b41799ce7606e5c79ce0a"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:4d0dcc59664fcb8974b356fe0a18a672d6d7cf9f54746c05f43275fc48636851"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8951eee36c57cd128f779e641e21eb40bc5073eb28b2d23f33eb0ef14ffb3f5d"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4701b19f7e3a06ea655513f7938de6f108123bf7c86bbebb1196eb9bd35cf724"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e00a3f196329e08e43d99b79b286d60ce46bed10f2280d25a1718399457e06be"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:97736815b9cc893b2b7f663628e63f436018b75f44854c8027040e05230eeddb"},+ {file = "pydantic_core-2.18.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6891a2ae0e8692679c07728819b6e2b822fb30ca7445f67bbf6509b25a96332c"},+ {file = "pydantic_core-2.18.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bc4ff9805858bd54d1a20efff925ccd89c9d2e7cf4986144b30802bf78091c3e"},+ {file = "pydantic_core-2.18.4-cp310-none-win32.whl", hash = "sha256:1b4de2e51bbcb61fdebd0ab86ef28062704f62c82bbf4addc4e37fa4b00b7cbc"},+ {file = "pydantic_core-2.18.4-cp310-none-win_amd64.whl", hash = "sha256:6a750aec7bf431517a9fd78cb93c97b9b0c496090fee84a47a0d23668976b4b0"},+ {file = "pydantic_core-2.18.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:942ba11e7dfb66dc70f9ae66b33452f51ac7bb90676da39a7345e99ffb55402d"},+ {file = "pydantic_core-2.18.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:b2ebef0e0b4454320274f5e83a41844c63438fdc874ea40a8b5b4ecb7693f1c4"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a642295cd0c8df1b86fc3dced1d067874c353a188dc8e0f744626d49e9aa51c4"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f09baa656c904807e832cf9cce799c6460c450c4ad80803517032da0cd062e2"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:98906207f29bc2c459ff64fa007afd10a8c8ac080f7e4d5beff4c97086a3dabd"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:19894b95aacfa98e7cb093cd7881a0c76f55731efad31073db4521e2b6ff5b7d"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0fbbdc827fe5e42e4d196c746b890b3d72876bdbf160b0eafe9f0334525119c8"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f85d05aa0918283cf29a30b547b4df2fbb56b45b135f9e35b6807cb28bc47951"},+ {file = "pydantic_core-2.18.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e85637bc8fe81ddb73fda9e56bab24560bdddfa98aa64f87aaa4e4b6730c23d2"},+ {file = "pydantic_core-2.18.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:2f5966897e5461f818e136b8451d0551a2e77259eb0f73a837027b47dc95dab9"},+ {file = "pydantic_core-2.18.4-cp311-none-win32.whl", hash = "sha256:44c7486a4228413c317952e9d89598bcdfb06399735e49e0f8df643e1ccd0558"},+ {file = "pydantic_core-2.18.4-cp311-none-win_amd64.whl", hash = "sha256:8a7164fe2005d03c64fd3b85649891cd4953a8de53107940bf272500ba8a788b"},+ {file = "pydantic_core-2.18.4-cp311-none-win_arm64.whl", hash = "sha256:4e99bc050fe65c450344421017f98298a97cefc18c53bb2f7b3531eb39bc7805"},+ {file = "pydantic_core-2.18.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:6f5c4d41b2771c730ea1c34e458e781b18cc668d194958e0112455fff4e402b2"},+ {file = "pydantic_core-2.18.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2fdf2156aa3d017fddf8aea5adfba9f777db1d6022d392b682d2a8329e087cef"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4748321b5078216070b151d5271ef3e7cc905ab170bbfd27d5c83ee3ec436695"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:847a35c4d58721c5dc3dba599878ebbdfd96784f3fb8bb2c356e123bdcd73f34"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3c40d4eaad41f78e3bbda31b89edc46a3f3dc6e171bf0ecf097ff7a0ffff7cb1"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:21a5e440dbe315ab9825fcd459b8814bb92b27c974cbc23c3e8baa2b76890077"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:01dd777215e2aa86dfd664daed5957704b769e726626393438f9c87690ce78c3"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4b06beb3b3f1479d32befd1f3079cc47b34fa2da62457cdf6c963393340b56e9"},+ {file = "pydantic_core-2.18.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:564d7922e4b13a16b98772441879fcdcbe82ff50daa622d681dd682175ea918c"},+ {file = "pydantic_core-2.18.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:0eb2a4f660fcd8e2b1c90ad566db2b98d7f3f4717c64fe0a83e0adb39766d5b8"},+ {file = "pydantic_core-2.18.4-cp312-none-win32.whl", hash = "sha256:8b8bab4c97248095ae0c4455b5a1cd1cdd96e4e4769306ab19dda135ea4cdb07"},+ {file = "pydantic_core-2.18.4-cp312-none-win_amd64.whl", hash = "sha256:14601cdb733d741b8958224030e2bfe21a4a881fb3dd6fbb21f071cabd48fa0a"},+ {file = "pydantic_core-2.18.4-cp312-none-win_arm64.whl", hash = "sha256:c1322d7dd74713dcc157a2b7898a564ab091ca6c58302d5c7b4c07296e3fd00f"},+ {file = "pydantic_core-2.18.4-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:823be1deb01793da05ecb0484d6c9e20baebb39bd42b5d72636ae9cf8350dbd2"},+ {file = "pydantic_core-2.18.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:ebef0dd9bf9b812bf75bda96743f2a6c5734a02092ae7f721c048d156d5fabae"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ae1d6df168efb88d7d522664693607b80b4080be6750c913eefb77e34c12c71a"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f9899c94762343f2cc2fc64c13e7cae4c3cc65cdfc87dd810a31654c9b7358cc"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:99457f184ad90235cfe8461c4d70ab7dd2680e28821c29eca00252ba90308c78"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:18f469a3d2a2fdafe99296a87e8a4c37748b5080a26b806a707f25a902c040a8"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b7cdf28938ac6b8b49ae5e92f2735056a7ba99c9b110a474473fd71185c1af5d"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:938cb21650855054dc54dfd9120a851c974f95450f00683399006aa6e8abb057"},+ {file = "pydantic_core-2.18.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:44cd83ab6a51da80fb5adbd9560e26018e2ac7826f9626bc06ca3dc074cd198b"},+ {file = "pydantic_core-2.18.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:972658f4a72d02b8abfa2581d92d59f59897d2e9f7e708fdabe922f9087773af"},+ {file = "pydantic_core-2.18.4-cp38-none-win32.whl", hash = "sha256:1d886dc848e60cb7666f771e406acae54ab279b9f1e4143babc9c2258213daa2"},+ {file = "pydantic_core-2.18.4-cp38-none-win_amd64.whl", hash = "sha256:bb4462bd43c2460774914b8525f79b00f8f407c945d50881568f294c1d9b4443"},+ {file = "pydantic_core-2.18.4-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:44a688331d4a4e2129140a8118479443bd6f1905231138971372fcde37e43528"},+ {file = "pydantic_core-2.18.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a2fdd81edd64342c85ac7cf2753ccae0b79bf2dfa063785503cb85a7d3593223"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:86110d7e1907ab36691f80b33eb2da87d780f4739ae773e5fc83fb272f88825f"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:46387e38bd641b3ee5ce247563b60c5ca098da9c56c75c157a05eaa0933ed154"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:123c3cec203e3f5ac7b000bd82235f1a3eced8665b63d18be751f115588fea30"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dc1803ac5c32ec324c5261c7209e8f8ce88e83254c4e1aebdc8b0a39f9ddb443"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:53db086f9f6ab2b4061958d9c276d1dbe3690e8dd727d6abf2321d6cce37fa94"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:abc267fa9837245cc28ea6929f19fa335f3dc330a35d2e45509b6566dc18be23"},+ {file = "pydantic_core-2.18.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:a0d829524aaefdebccb869eed855e2d04c21d2d7479b6cada7ace5448416597b"},+ {file = "pydantic_core-2.18.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:509daade3b8649f80d4e5ff21aa5673e4ebe58590b25fe42fac5f0f52c6f034a"},+ {file = "pydantic_core-2.18.4-cp39-none-win32.whl", hash = "sha256:ca26a1e73c48cfc54c4a76ff78df3727b9d9f4ccc8dbee4ae3f73306a591676d"},+ {file = "pydantic_core-2.18.4-cp39-none-win_amd64.whl", hash = "sha256:c67598100338d5d985db1b3d21f3619ef392e185e71b8d52bceacc4a7771ea7e"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:574d92eac874f7f4db0ca653514d823a0d22e2354359d0759e3f6a406db5d55d"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:1f4d26ceb5eb9eed4af91bebeae4b06c3fb28966ca3a8fb765208cf6b51102ab"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77450e6d20016ec41f43ca4a6c63e9fdde03f0ae3fe90e7c27bdbeaece8b1ed4"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d323a01da91851a4f17bf592faf46149c9169d68430b3146dcba2bb5e5719abc"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:43d447dd2ae072a0065389092a231283f62d960030ecd27565672bd40746c507"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:578e24f761f3b425834f297b9935e1ce2e30f51400964ce4801002435a1b41ef"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:81b5efb2f126454586d0f40c4d834010979cb80785173d1586df845a632e4e6d"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:ab86ce7c8f9bea87b9d12c7f0af71102acbf5ecbc66c17796cff45dae54ef9a5"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:90afc12421df2b1b4dcc975f814e21bc1754640d502a2fbcc6d41e77af5ec312"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:51991a89639a912c17bef4b45c87bd83593aee0437d8102556af4885811d59f5"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:293afe532740370aba8c060882f7d26cfd00c94cae32fd2e212a3a6e3b7bc15e"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b48ece5bde2e768197a2d0f6e925f9d7e3e826f0ad2271120f8144a9db18d5c8"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:eae237477a873ab46e8dd748e515c72c0c804fb380fbe6c85533c7de51f23a8f"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:834b5230b5dfc0c1ec37b2fda433b271cbbc0e507560b5d1588e2cc1148cf1ce"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:e858ac0a25074ba4bce653f9b5d0a85b7456eaddadc0ce82d3878c22489fa4ee"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:2fd41f6eff4c20778d717af1cc50eca52f5afe7805ee530a4fbd0bae284f16e9"},+ {file = "pydantic_core-2.18.4.tar.gz", hash = "sha256:ec3beeada09ff865c344ff3bc2f427f5e6c26401cc6113d77e372c3fdac73864"},+]++[package.dependencies]+typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0"++[[package]]+name = "pydantic-settings"+version = "2.3.4"+description = "Settings management using Pydantic"+optional = true+python-versions = ">=3.8"+files = [+ {file = "pydantic_settings-2.3.4-py3-none-any.whl", hash = "sha256:11ad8bacb68a045f00e4f862c7a718c8a9ec766aa8fd4c32e39a0594b207b53a"},+ {file = "pydantic_settings-2.3.4.tar.gz", hash = "sha256:c5802e3d62b78e82522319bbc9b8f8ffb28ad1c988a99311d04f2a6051fca0a7"},+]++[package.dependencies]+pydantic = ">=2.7.0"+python-dotenv = ">=0.21.0"[package.extras]-dotenv = ["python-dotenv (>=0.10.4)"]-email = ["email-validator (>=1.0.3)"]+toml = ["tomli (>=2.0.1)"]+yaml = ["pyyaml (>=6.0.1)"][[package]]name = "pyflakes"@@ -6698,4 +6793,4 @@ benchmark = ["agbenchmark"][metadata]lock-version = "2.0"python-versions = "^3.10"-content-hash = "635471a4231272ee37bbc8f6f94fcc5d7ddc392969e54599453ac08889193a8d"+content-hash = "38a549db0d7726a14e3f990206928b6187e009aee31755b7286ede1c568d359b"diff --git a/autogpt/pyproject.toml b/autogpt/pyproject.tomlindex b289047277..d51e22ad90 100644--- a/autogpt/pyproject.toml+++ b/autogpt/pyproject.toml@@ -33,7 +33,7 @@ hypercorn = "^0.14.4"openai = "^1.7.2"orjson = "^3.8.10"Pillow = "*"-pydantic = "*"+pydantic = "^2.7.2"python-docx = "*"python-dotenv = "^1.0.0"pyyaml = "^6.0"diff --git a/autogpt/tests/conftest.py b/autogpt/tests/conftest.pyindex a4af971e56..bc7630713a 100644--- a/autogpt/tests/conftest.py+++ b/autogpt/tests/conftest.py@@ -96,7 +96,7 @@ def agent(allow_fs_access=not config.restrict_to_workspace,use_functions_api=config.openai_functions,),- history=Agent.default_settings.history.copy(deep=True),+ history=Agent.default_settings.history.model_copy(deep=True),)agent = Agent(diff --git a/autogpt/tests/integration/agent_factory.py b/autogpt/tests/integration/agent_factory.pyindex 1f45fdaa30..b30662ef0f 100644--- a/autogpt/tests/integration/agent_factory.py+++ b/autogpt/tests/integration/agent_factory.py@@ -28,7 +28,7 @@ def dummy_agent(config: AppConfig, llm_provider: MultiProvider):smart_llm=config.smart_llm,use_functions_api=config.openai_functions,),- history=Agent.default_settings.history.copy(deep=True),+ history=Agent.default_settings.history.model_copy(deep=True),)local = config.file_storage_backend == FileStorageBackendName.LOCALdiff --git a/benchmark/agbenchmark/__main__.py b/benchmark/agbenchmark/__main__.pyindex ca2cc1826a..c8f2a14301 100644--- a/benchmark/agbenchmark/__main__.py+++ b/benchmark/agbenchmark/__main__.py@@ -276,7 +276,9 @@ def list_challenges(include_unavailable: bool, only_names: bool, output_json: boreturnif output_json:- click.echo(json.dumps([json.loads(c.info.json()) for c in challenges]))+ click.echo(+ json.dumps([json.loads(c.info.model_dump_json()) for c in challenges])+ )returnheaders = tuple(@@ -324,7 +326,7 @@ def info(name: str, json: bool):continueif json:- click.echo(challenge.info.json())+ click.echo(challenge.info.model_dump_json())breakpretty_print_model(challenge.info)diff --git a/benchmark/agbenchmark/app.py b/benchmark/agbenchmark/app.pyindex 40e49db1c8..28f39db35d 100644--- a/benchmark/agbenchmark/app.py+++ b/benchmark/agbenchmark/app.py@@ -16,7 +16,7 @@ from agent_protocol_client import AgentApi, ApiClient, ApiException, Configuratifrom agent_protocol_client.models import Task, TaskRequestBodyfrom fastapi import APIRouter, FastAPI, HTTPException, Request, Responsefrom fastapi.middleware.cors import CORSMiddleware-from pydantic import BaseModel, Extra, ValidationError+from pydantic import BaseModel, ConfigDict, ValidationErrorfrom agbenchmark.challenges import ChallengeInfofrom agbenchmark.config import AgentBenchmarkConfig@@ -52,7 +52,9 @@ while challenge_spec_files:logger.debug(f"Loading {challenge_relpath}...")try:- challenge_info = ChallengeInfo.parse_file(challenge_spec_file)+ challenge_info = ChallengeInfo.model_validate_json(+ challenge_spec_file.read_text()+ )except ValidationError as e:if logging.getLogger().level == logging.DEBUG:logger.warning(f"Spec file {challenge_relpath} failed to load:\n{e}")@@ -64,7 +66,7 @@ while challenge_spec_files:challenge_info.eval_id = str(uuid.uuid4())# this will sort all the keys of the JSON systematically# so that the order is always the same- write_pretty_json(challenge_info.dict(), challenge_spec_file)+ write_pretty_json(challenge_info.model_dump(), challenge_spec_file)CHALLENGES[challenge_info.eval_id] = challenge_info@@ -111,8 +113,7 @@ class CreateReportRequest(BaseModel):# category: Optional[str] = []mock: Optional[bool] = False- class Config:- extra = Extra.forbid # this will forbid any extra fields+ model_config = ConfigDict(extra="forbid")updates_list = []@@ -153,7 +154,7 @@ def setup_fastapi_app(agbenchmark_config: AgentBenchmarkConfig) -> FastAPI:pids = find_agbenchmark_without_uvicorn()logger.info(f"pids already running with agbenchmark: {pids}")- logger.debug(f"Request to /reports: {body.dict()}")+ logger.debug(f"Request to /reports: {body.model_dump()}")# Start the benchmark in a separate threadbenchmark_process = Process(@@ -326,7 +327,9 @@ def setup_fastapi_app(agbenchmark_config: AgentBenchmarkConfig) -> FastAPI:config={},)- logger.debug(f"Returning evaluation data:\n{eval_info.json(indent=4)}")+ logger.debug(+ f"Returning evaluation data:\n{eval_info.model_dump_json(indent=4)}"+ )return eval_infoexcept ApiException as e:logger.error(f"Error {e} whilst trying to evaluate task: {task_id}")diff --git a/benchmark/agbenchmark/challenges/builtin.py b/benchmark/agbenchmark/challenges/builtin.pyindex b93dc1140e..ef0d723171 100644--- a/benchmark/agbenchmark/challenges/builtin.py+++ b/benchmark/agbenchmark/challenges/builtin.py@@ -15,7 +15,13 @@ from agent_protocol_client import Configuration as ClientConfigfrom agent_protocol_client import Stepfrom colorama import Fore, Stylefrom openai import _load_client as get_openai_client-from pydantic import BaseModel, Field, constr, validator+from pydantic import (+ BaseModel,+ Field,+ StringConstraints,+ ValidationInfo,+ field_validator,+)from agbenchmark.agent_api_interface import download_agent_artifacts_into_folderfrom agbenchmark.agent_interface import copy_challenge_artifacts_into_workspace@@ -46,7 +52,9 @@ class BuiltinChallengeSpec(BaseModel):class Info(BaseModel):difficulty: DifficultyLevel- description: Annotated[str, constr(regex=r"^Tests if the agent can.*")]+ description: Annotated[+ str, StringConstraints(pattern=r"^Tests if the agent can.*")+ ]side_effects: list[str] = Field(default_factory=list)info: Info@@ -60,23 +68,26 @@ class BuiltinChallengeSpec(BaseModel):class Eval(BaseModel):type: str- scoring: Optional[Literal["percentage", "scale", "binary"]]- template: Optional[Literal["rubric", "reference", "question", "custom"]]- examples: Optional[str]-- @validator("scoring", "template", always=True)- def validate_eval_fields(cls, v, values, field):- if "type" in values and values["type"] == "llm":- if v is None:+ scoring: Optional[Literal["percentage", "scale", "binary"]] = None+ template: Optional[+ Literal["rubric", "reference", "question", "custom"]+ ] = None+ examples: Optional[str] = None++ @field_validator("scoring", "template")+ def validate_eval_fields(cls, value, info: ValidationInfo):+ field_name = info.field_name+ if "type" in info.data and info.data["type"] == "llm":+ if value is None:raise ValueError(- f"{field.name} must be provided when eval type is 'llm'"+ f"{field_name} must be provided when eval type is 'llm'")else:- if v is not None:+ if value is not None:raise ValueError(- f"{field.name} should only exist when eval type is 'llm'"+ f"{field_name} should only exist when eval type is 'llm'")- return v+ return valueeval: Eval@@ -142,7 +153,7 @@ class BuiltinChallenge(BaseChallenge):@classmethoddef from_challenge_spec_file(cls, spec_file: Path) -> type["BuiltinChallenge"]:- challenge_spec = BuiltinChallengeSpec.parse_file(spec_file)+ challenge_spec = BuiltinChallengeSpec.model_validate_json(spec_file.read_text())challenge_spec.spec_file = spec_filereturn cls.from_challenge_spec(challenge_spec)@@ -187,7 +198,7 @@ class BuiltinChallenge(BaseChallenge):task_id = step.task_idn_steps += 1- steps.append(step.copy())+ steps.append(step.model_copy())if step.additional_output:agent_task_cost = step.additional_output.get("task_total_cost",diff --git a/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_in/abstract_class.py b/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_in/abstract_class.pyindex 1add2a330d..4cc56e2212 100644--- a/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_in/abstract_class.py+++ b/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_in/abstract_class.py@@ -1,7 +1,7 @@from abc import ABC, abstractmethodfrom typing import Optional-from pydantic import BaseModel, validator+from pydantic import BaseModel, field_validator# Models for the request and response payloads@@ -10,7 +10,7 @@ class ShipPlacement(BaseModel):start: dict # {"row": int, "column": str}direction: str- @validator("start")+ @field_validator("start")def validate_start(cls, start):row, column = start.get("row"), start.get("column")diff --git a/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_out/abstract_class.py b/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_out/abstract_class.pyindex 9a1ba446fe..ac2dfe0d60 100644--- a/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_out/abstract_class.py+++ b/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_out/abstract_class.py@@ -1,7 +1,7 @@from abc import ABC, abstractmethodfrom typing import Optional-from pydantic import BaseModel, validator+from pydantic import BaseModel, field_validator# Models for the request and response payloads@@ -10,7 +10,7 @@ class ShipPlacement(BaseModel):start: dict # {"row": int, "column": str}direction: str- @validator("start")+ @field_validator("start")def validate_start(cls, start):row, column = start.get("row"), start.get("column")diff --git a/benchmark/agbenchmark/challenges/webarena.py b/benchmark/agbenchmark/challenges/webarena.pyindex 4a25e1a57c..30957bddc7 100644--- a/benchmark/agbenchmark/challenges/webarena.py+++ b/benchmark/agbenchmark/challenges/webarena.py@@ -6,7 +6,7 @@ from typing import ClassVar, Iterator, Literalimport pytestimport requestsfrom agent_protocol_client import AgentApi, Step-from pydantic import BaseModel, ValidationError, validator+from pydantic import BaseModel, ValidationError, ValidationInfo, field_validatorfrom agbenchmark.config import AgentBenchmarkConfigfrom agbenchmark.utils.data_types import Category, EvalResult@@ -183,7 +183,7 @@ class WebArenaChallengeSpec(BaseModel):"""The JungleGym site (base URL) at which to start"""require_login: boolrequire_reset: bool- storage_state: str | None+ storage_state: str | None = Noneintent: strintent_template: str@@ -195,36 +195,36 @@ class WebArenaChallengeSpec(BaseModel):class EvalSet(BaseModel):class StringMatchEvalSet(BaseModel):- exact_match: str | None- fuzzy_match: list[str] | None- must_include: list[str] | None+ exact_match: str | None = None+ fuzzy_match: list[str] | None = None+ must_include: list[str] | None = None- reference_answers: StringMatchEvalSet | None+ reference_answers: StringMatchEvalSet | None = None"""For string_match eval, a set of criteria to judge the final answer"""- reference_answer_raw_annotation: str | None- string_note: str | None- annotation_note: str | None+ reference_answer_raw_annotation: str | None = None+ string_note: str | None = None+ annotation_note: str | None = None- reference_url: str | None+ reference_url: str | None = None"""For url_match eval, the last URL that should be visited"""- url_note: str | None+ url_note: str | None = Noneprogram_html: list[ProgramHtmlEval]"""For program_html eval, a list of criteria to judge the site state by"""eval_types: list[EvalType]- @validator("eval_types")- def check_eval_parameters(cls, v: list[EvalType], values):- if "string_match" in v and not values.get("reference_answers"):+ @field_validator("eval_types")+ def check_eval_parameters(cls, value: list[EvalType], info: ValidationInfo):+ if "string_match" in value and not info.data["reference_answers"]:raise ValueError("'string_match' eval_type requires reference_answers")- if "url_match" in v and not values.get("reference_url"):+ if "url_match" in value and not info.data["reference_url"]:raise ValueError("'url_match' eval_type requires reference_url")- if "program_html" in v and not values.get("program_html"):+ if "program_html" in value and not info.data["program_html"]:raise ValueError("'program_html' eval_type requires at least one program_html eval")- return v+ return value@propertydef evaluators(self) -> list[_Eval]:@@ -292,7 +292,7 @@ class WebArenaChallenge(BaseChallenge):results = requests.get(source_url).json()["data"]if not results:raise ValueError(f"Could not fetch challenge {source_uri}")- return cls.from_challenge_spec(WebArenaChallengeSpec.parse_obj(results[0]))+ return cls.from_challenge_spec(WebArenaChallengeSpec.model_validate(results[0]))@classmethoddef from_challenge_spec(@@ -500,7 +500,7 @@ def load_webarena_challenges(skipped = 0for entry in challenge_dicts:try:- challenge_spec = WebArenaChallengeSpec.parse_obj(entry)+ challenge_spec = WebArenaChallengeSpec.model_validate(entry)except ValidationError as e:failed += 1logger.warning(f"Error validating WebArena challenge entry: {entry}")diff --git a/benchmark/agbenchmark/config.py b/benchmark/agbenchmark/config.pyindex ec8974beaa..8af664f765 100644--- a/benchmark/agbenchmark/config.py+++ b/benchmark/agbenchmark/config.py@@ -4,7 +4,8 @@ from datetime import datetimefrom pathlib import Pathfrom typing import Optional-from pydantic import BaseSettings, Field, validator+from pydantic import Field, ValidationInfo, field_validator+from pydantic_settings import BaseSettingsdef _calculate_info_test_path(base_path: Path, benchmark_start_time: datetime) -> Path:@@ -57,7 +58,7 @@ class AgentBenchmarkConfig(BaseSettings, extra="allow"):subject application exposes an Agent Protocol compliant API."""- agbenchmark_config_dir: Path = Field(..., exclude=True)+ agbenchmark_config_dir: Path = Field(exclude=True)"""Path to the agbenchmark_config folder of the subject agent application."""categories: list[str] | None = None@@ -101,11 +102,11 @@ class AgentBenchmarkConfig(BaseSettings, extra="allow"):def config_file(self) -> Path:return self.agbenchmark_config_dir / "config.json"- @validator("reports_folder", pre=True, always=True)- def set_reports_folder(cls, v, values):- if not v:- return values["agbenchmark_config_dir"] / "reports"- return v+ @field_validator("reports_folder", mode="before")+ def set_reports_folder(cls, value: Path, info: ValidationInfo):+ if not value:+ return info.data["agbenchmark_config_dir"] / "reports"+ return valuedef get_report_dir(self, benchmark_start_time: datetime) -> Path:return _calculate_info_test_path(self.reports_folder, benchmark_start_time)diff --git a/benchmark/agbenchmark/reports/ReportManager.py b/benchmark/agbenchmark/reports/ReportManager.pyindex 76e0cab8b1..71930bf940 100644--- a/benchmark/agbenchmark/reports/ReportManager.py+++ b/benchmark/agbenchmark/reports/ReportManager.py@@ -111,17 +111,19 @@ class SessionReportManager(BaseReportManager):def save(self) -> None:with self.report_file.open("w") as f:if self.report:- f.write(self.report.json(indent=4))+ f.write(self.report.model_dump_json(indent=4))else:- json.dump({k: v.dict() for k, v in self.tests.items()}, f, indent=4)+ json.dump(+ {k: v.model_dump() for k, v in self.tests.items()}, f, indent=4+ )def load(self) -> None:super().load()if "tests" in self.tests:- self.report = Report.parse_obj(self.tests)+ self.report = Report.model_validate(self.tests)else:- self.tests = {n: Test.parse_obj(d) for n, d in self.tests.items()}+ self.tests = {n: Test.model_validate(d) for n, d in self.tests.items()}def add_test_report(self, test_name: str, test_report: Test) -> None:if self.report:@@ -155,7 +157,7 @@ class SessionReportManager(BaseReportManager):total_cost=self.get_total_costs(),),tests=copy.copy(self.tests),- config=config.dict(exclude={"reports_folder"}, exclude_none=True),+ config=config.model_dump(exclude={"reports_folder"}, exclude_none=True),)agent_categories = get_highest_achieved_difficulty_per_category(self.report)diff --git a/benchmark/agbenchmark/reports/processing/process_report.py b/benchmark/agbenchmark/reports/processing/process_report.pyindex 993cc4f3c0..7ee09c6d70 100644--- a/benchmark/agbenchmark/reports/processing/process_report.py+++ b/benchmark/agbenchmark/reports/processing/process_report.py@@ -27,7 +27,7 @@ def get_reports_data(report_path: str) -> dict[str, Any]:with open(Path(subdir) / file, "r") as f:# Load the JSON data from the filejson_data = json.load(f)- converted_data = Report.parse_obj(json_data)+ converted_data = Report.model_validate(json_data)# get the last directory name in the path as keyreports_data[subdir_name] = converted_datadiff --git a/benchmark/agbenchmark/reports/processing/report_types.py b/benchmark/agbenchmark/reports/processing/report_types.pyindex 0900e21bd0..57d7f2c70c 100644--- a/benchmark/agbenchmark/reports/processing/report_types.py+++ b/benchmark/agbenchmark/reports/processing/report_types.py@@ -6,7 +6,13 @@ import loggingfrom typing import Annotated, Any, Dict, Listfrom agent_protocol_client import Step-from pydantic import BaseModel, Field, constr, validator+from pydantic import (+ BaseModel,+ Field,+ StringConstraints,+ ValidationInfo,+ field_validator,+)datetime_format = r"^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\+00:00$"logger = logging.getLogger(__name__)@@ -30,20 +36,20 @@ class TestResult(BaseModel):cost: float | None = None"""The (known) cost incurred by the run, e.g. from using paid LLM APIs"""- @validator("fail_reason")- def success_xor_fail_reason(cls, v: str | None, values: dict[str, Any]):- if bool(v) == bool(values["success"]):+ @field_validator("fail_reason")+ def success_xor_fail_reason(cls, value, info: ValidationInfo):+ if bool(value) == bool(info.data["success"]):logger.error("Error validating `success ^ fail_reason` on TestResult: "- f"success = {repr(values['success'])}; "- f"fail_reason = {repr(v)}"+ f"success = {repr(info.data['success'])}; "+ f"fail_reason = {repr(value)}")- if v:- success = values["success"]+ if value:+ success = info.data["success"]assert not success, "fail_reason must only be specified if success=False"else:- assert values["success"], "fail_reason is required if success=False"- return v+ assert info.data["success"], "fail_reason is required if success=False"+ return valueclass TestMetrics(BaseModel):@@ -88,7 +94,7 @@ class Test(BaseModel):class ReportBase(BaseModel):command: strcompletion_time: str | None = None- benchmark_start_time: Annotated[str, constr(regex=datetime_format)]+ benchmark_start_time: Annotated[str, StringConstraints(pattern=datetime_format)]metrics: MetricsOverallconfig: Dict[str, str | dict[str, str]]agent_git_commit_sha: str | None = Nonediff --git a/benchmark/agbenchmark/reports/processing/report_types_v2.py b/benchmark/agbenchmark/reports/processing/report_types_v2.pyindex 6ae0aa5c90..2491238d42 100644--- a/benchmark/agbenchmark/reports/processing/report_types_v2.py+++ b/benchmark/agbenchmark/reports/processing/report_types_v2.py@@ -1,7 +1,7 @@"""Model definitions for use in the API"""from typing import Annotated-from pydantic import BaseModel, constr+from pydantic import BaseModel, StringConstraintsdatetime_format = r"^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\+00:00$"@@ -37,7 +37,7 @@ class RunDetails(BaseModel):run_id: str | None = Nonecommand: strcompletion_time: str | None = None- benchmark_start_time: Annotated[str, constr(regex=datetime_format)]+ benchmark_start_time: Annotated[str, StringConstraints(pattern=datetime_format)]class BenchmarkRun(BaseModel):diff --git a/benchmark/agbenchmark/reports/reports.py b/benchmark/agbenchmark/reports/reports.pyindex 431f4ba6e2..d4f16cbad8 100644--- a/benchmark/agbenchmark/reports/reports.py+++ b/benchmark/agbenchmark/reports/reports.py@@ -45,7 +45,7 @@ def update_regression_tests(# if the last 3 tests were successful, add to the regression teststest_report.metrics.is_regression = TrueSingletonReportManager().REGRESSION_MANAGER.add_test(- test_name, test_report.dict(include={"difficulty", "data_path"})+ test_name, test_report.model_dump(include={"difficulty", "data_path"}))diff --git a/benchmark/agbenchmark/schema.py b/benchmark/agbenchmark/schema.pyindex 190710c357..5a0b5b2a80 100644--- a/benchmark/agbenchmark/schema.py+++ b/benchmark/agbenchmark/schema.py@@ -7,10 +7,9 @@ from pydantic import BaseModel, Fieldclass TaskRequestBody(BaseModel):input: str = Field(- ...,min_length=1,description="Input prompt for the task.",- example="Write the words you receive to the file 'output.txt'.",+ examples=["Write the words you receive to the file 'output.txt'."],)additional_input: Optional[dict[str, Any]] = Field(default_factory=dict)diff --git a/benchmark/agbenchmark/utils/dependencies/main.py b/benchmark/agbenchmark/utils/dependencies/main.pyindex 3127a46a0e..936625abf8 100644--- a/benchmark/agbenchmark/utils/dependencies/main.py+++ b/benchmark/agbenchmark/utils/dependencies/main.py@@ -220,7 +220,7 @@ class DependencyManager(object):labels = {}for item in self.items:assert item.cls and issubclass(item.cls, BaseChallenge)- data = item.cls.info.dict()+ data = item.cls.info.model_dump()node_name = get_name(item)data["name"] = node_namediff --git a/benchmark/agbenchmark/utils/utils.py b/benchmark/agbenchmark/utils/utils.pyindex 52d679e39e..3c1a304533 100644--- a/benchmark/agbenchmark/utils/utils.py+++ b/benchmark/agbenchmark/utils/utils.py@@ -135,7 +135,7 @@ def pretty_print_model(model: BaseModel, include_header: bool = True) -> None:if include_header:# Try to find the ID and/or name attribute of the modelid, name = None, None- for attr, value in model.dict().items():+ for attr, value in model.model_dump().items():if attr == "id" or attr.endswith("_id"):id = valueif attr.endswith("name"):@@ -148,8 +148,8 @@ def pretty_print_model(model: BaseModel, include_header: bool = True) -> None:)indent = " " * 2- k_col_width = max(len(k) for k in model.dict().keys())- for k, v in model.dict().items():+ k_col_width = max(len(k) for k in model.model_dump().keys())+ for k, v in model.model_dump().items():v_fmt = repr(v)if v is None or v == "":v_fmt = click.style(v_fmt, fg="black")diff --git a/benchmark/poetry.lock b/benchmark/poetry.lockindex 992adbc1f1..25a63e4481 100644--- a/benchmark/poetry.lock+++ b/benchmark/poetry.lock@@ -5,17 +5,22 @@ name = "agent-protocol-client"version = "1.1.0"description = "Agent Communication Protocol Client"optional = false-python-versions = ">=3.7,<4.0"-files = [- {file = "agent_protocol_client-1.1.0-py3-none-any.whl", hash = "sha256:0e8c6c97244189666ed18e320410abddce8c9dfb75437da1e590bbef3b6268be"},- {file = "agent_protocol_client-1.1.0.tar.gz", hash = "sha256:aa7e1042de1249477fdc29c2df08a44f2233dade9c02c1279e37c98e9d3a0d72"},-]+python-versions = "^3.7"+files = []+develop = false[package.dependencies]-aiohttp = ">=3.8.4,<4.0.0"-pydantic = ">=1.10.5,<2.0.0"-python-dateutil = ">=2.8.2,<3.0.0"-urllib3 = ">=1.25.3,<2.0.0"+aiohttp = "^3.8.4"+pydantic = ">=1.10.5, <3.0.0"+python-dateutil = "^2.8.2"+urllib3 = "^1.25.3"++[package.source]+type = "git"+url = "https://github.com/Significant-Gravitas/agent-protocol.git"+reference = "HEAD"+resolved_reference = "beb098517b0b9e255024d1b57df236f0329f4b1c"+subdirectory = "packages/client/python"[[package]]name = "aiohttp"@@ -127,6 +132,17 @@ files = [[package.dependencies]frozenlist = ">=1.1.0"+[[package]]+name = "annotated-types"+version = "0.7.0"+description = "Reusable constraint types to use with typing.Annotated"+optional = false+python-versions = ">=3.8"+files = [+ {file = "annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53"},+ {file = "annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"},+]+[[package]]name = "anyio"version = "4.2.0"@@ -1440,85 +1456,101 @@ files = [[[package]]name = "multidict"-version = "6.0.4"+version = "6.0.5"description = "multidict implementation"optional = falsepython-versions = ">=3.7"files = [- {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:0b1a97283e0c85772d613878028fec909f003993e1007eafa715b24b377cb9b8"},- {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:eeb6dcc05e911516ae3d1f207d4b0520d07f54484c49dfc294d6e7d63b734171"},- {file = "multidict-6.0.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d6d635d5209b82a3492508cf5b365f3446afb65ae7ebd755e70e18f287b0adf7"},- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c048099e4c9e9d615545e2001d3d8a4380bd403e1a0578734e0d31703d1b0c0b"},- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ea20853c6dbbb53ed34cb4d080382169b6f4554d394015f1bef35e881bf83547"},- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:16d232d4e5396c2efbbf4f6d4df89bfa905eb0d4dc5b3549d872ab898451f569"},- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:36c63aaa167f6c6b04ef2c85704e93af16c11d20de1d133e39de6a0e84582a93"},- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:64bdf1086b6043bf519869678f5f2757f473dee970d7abf6da91ec00acb9cb98"},- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:43644e38f42e3af682690876cff722d301ac585c5b9e1eacc013b7a3f7b696a0"},- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:7582a1d1030e15422262de9f58711774e02fa80df0d1578995c76214f6954988"},- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:ddff9c4e225a63a5afab9dd15590432c22e8057e1a9a13d28ed128ecf047bbdc"},- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:ee2a1ece51b9b9e7752e742cfb661d2a29e7bcdba2d27e66e28a99f1890e4fa0"},- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a2e4369eb3d47d2034032a26c7a80fcb21a2cb22e1173d761a162f11e562caa5"},- {file = "multidict-6.0.4-cp310-cp310-win32.whl", hash = "sha256:574b7eae1ab267e5f8285f0fe881f17efe4b98c39a40858247720935b893bba8"},- {file = "multidict-6.0.4-cp310-cp310-win_amd64.whl", hash = "sha256:4dcbb0906e38440fa3e325df2359ac6cb043df8e58c965bb45f4e406ecb162cc"},- {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0dfad7a5a1e39c53ed00d2dd0c2e36aed4650936dc18fd9a1826a5ae1cad6f03"},- {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:64da238a09d6039e3bd39bb3aee9c21a5e34f28bfa5aa22518581f910ff94af3"},- {file = "multidict-6.0.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ff959bee35038c4624250473988b24f846cbeb2c6639de3602c073f10410ceba"},- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:01a3a55bd90018c9c080fbb0b9f4891db37d148a0a18722b42f94694f8b6d4c9"},- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c5cb09abb18c1ea940fb99360ea0396f34d46566f157122c92dfa069d3e0e982"},- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:666daae833559deb2d609afa4490b85830ab0dfca811a98b70a205621a6109fe"},- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:11bdf3f5e1518b24530b8241529d2050014c884cf18b6fc69c0c2b30ca248710"},- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7d18748f2d30f94f498e852c67d61261c643b349b9d2a581131725595c45ec6c"},- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:458f37be2d9e4c95e2d8866a851663cbc76e865b78395090786f6cd9b3bbf4f4"},- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:b1a2eeedcead3a41694130495593a559a668f382eee0727352b9a41e1c45759a"},- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7d6ae9d593ef8641544d6263c7fa6408cc90370c8cb2bbb65f8d43e5b0351d9c"},- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:5979b5632c3e3534e42ca6ff856bb24b2e3071b37861c2c727ce220d80eee9ed"},- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:dcfe792765fab89c365123c81046ad4103fcabbc4f56d1c1997e6715e8015461"},- {file = "multidict-6.0.4-cp311-cp311-win32.whl", hash = "sha256:3601a3cece3819534b11d4efc1eb76047488fddd0c85a3948099d5da4d504636"},- {file = "multidict-6.0.4-cp311-cp311-win_amd64.whl", hash = "sha256:81a4f0b34bd92df3da93315c6a59034df95866014ac08535fc819f043bfd51f0"},- {file = "multidict-6.0.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:67040058f37a2a51ed8ea8f6b0e6ee5bd78ca67f169ce6122f3e2ec80dfe9b78"},- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:853888594621e6604c978ce2a0444a1e6e70c8d253ab65ba11657659dcc9100f"},- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:39ff62e7d0f26c248b15e364517a72932a611a9b75f35b45be078d81bdb86603"},- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:af048912e045a2dc732847d33821a9d84ba553f5c5f028adbd364dd4765092ac"},- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1e8b901e607795ec06c9e42530788c45ac21ef3aaa11dbd0c69de543bfb79a9"},- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:62501642008a8b9871ddfccbf83e4222cf8ac0d5aeedf73da36153ef2ec222d2"},- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:99b76c052e9f1bc0721f7541e5e8c05db3941eb9ebe7b8553c625ef88d6eefde"},- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:509eac6cf09c794aa27bcacfd4d62c885cce62bef7b2c3e8b2e49d365b5003fe"},- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:21a12c4eb6ddc9952c415f24eef97e3e55ba3af61f67c7bc388dcdec1404a067"},- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:5cad9430ab3e2e4fa4a2ef4450f548768400a2ac635841bc2a56a2052cdbeb87"},- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ab55edc2e84460694295f401215f4a58597f8f7c9466faec545093045476327d"},- {file = "multidict-6.0.4-cp37-cp37m-win32.whl", hash = "sha256:5a4dcf02b908c3b8b17a45fb0f15b695bf117a67b76b7ad18b73cf8e92608775"},- {file = "multidict-6.0.4-cp37-cp37m-win_amd64.whl", hash = "sha256:6ed5f161328b7df384d71b07317f4d8656434e34591f20552c7bcef27b0ab88e"},- {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5fc1b16f586f049820c5c5b17bb4ee7583092fa0d1c4e28b5239181ff9532e0c"},- {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1502e24330eb681bdaa3eb70d6358e818e8e8f908a22a1851dfd4e15bc2f8161"},- {file = "multidict-6.0.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b692f419760c0e65d060959df05f2a531945af31fda0c8a3b3195d4efd06de11"},- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:45e1ecb0379bfaab5eef059f50115b54571acfbe422a14f668fc8c27ba410e7e"},- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ddd3915998d93fbcd2566ddf9cf62cdb35c9e093075f862935573d265cf8f65d"},- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:59d43b61c59d82f2effb39a93c48b845efe23a3852d201ed2d24ba830d0b4cf2"},- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cc8e1d0c705233c5dd0c5e6460fbad7827d5d36f310a0fadfd45cc3029762258"},- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d6aa0418fcc838522256761b3415822626f866758ee0bc6632c9486b179d0b52"},- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6748717bb10339c4760c1e63da040f5f29f5ed6e59d76daee30305894069a660"},- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4d1a3d7ef5e96b1c9e92f973e43aa5e5b96c659c9bc3124acbbd81b0b9c8a951"},- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4372381634485bec7e46718edc71528024fcdc6f835baefe517b34a33c731d60"},- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:fc35cb4676846ef752816d5be2193a1e8367b4c1397b74a565a9d0389c433a1d"},- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:4b9d9e4e2b37daddb5c23ea33a3417901fa7c7b3dee2d855f63ee67a0b21e5b1"},- {file = "multidict-6.0.4-cp38-cp38-win32.whl", hash = "sha256:e41b7e2b59679edfa309e8db64fdf22399eec4b0b24694e1b2104fb789207779"},- {file = "multidict-6.0.4-cp38-cp38-win_amd64.whl", hash = "sha256:d6c254ba6e45d8e72739281ebc46ea5eb5f101234f3ce171f0e9f5cc86991480"},- {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:16ab77bbeb596e14212e7bab8429f24c1579234a3a462105cda4a66904998664"},- {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bc779e9e6f7fda81b3f9aa58e3a6091d49ad528b11ed19f6621408806204ad35"},- {file = "multidict-6.0.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4ceef517eca3e03c1cceb22030a3e39cb399ac86bff4e426d4fc6ae49052cc60"},- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:281af09f488903fde97923c7744bb001a9b23b039a909460d0f14edc7bf59706"},- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:52f2dffc8acaba9a2f27174c41c9e57f60b907bb9f096b36b1a1f3be71c6284d"},- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b41156839806aecb3641f3208c0dafd3ac7775b9c4c422d82ee2a45c34ba81ca"},- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d5e3fc56f88cc98ef8139255cf8cd63eb2c586531e43310ff859d6bb3a6b51f1"},- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8316a77808c501004802f9beebde51c9f857054a0c871bd6da8280e718444449"},- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:f70b98cd94886b49d91170ef23ec5c0e8ebb6f242d734ed7ed677b24d50c82cf"},- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bf6774e60d67a9efe02b3616fee22441d86fab4c6d335f9d2051d19d90a40063"},- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:e69924bfcdda39b722ef4d9aa762b2dd38e4632b3641b1d9a57ca9cd18f2f83a"},- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:6b181d8c23da913d4ff585afd1155a0e1194c0b50c54fcfe286f70cdaf2b7176"},- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:52509b5be062d9eafc8170e53026fbc54cf3b32759a23d07fd935fb04fc22d95"},- {file = "multidict-6.0.4-cp39-cp39-win32.whl", hash = "sha256:27c523fbfbdfd19c6867af7346332b62b586eed663887392cff78d614f9ec313"},- {file = "multidict-6.0.4-cp39-cp39-win_amd64.whl", hash = "sha256:33029f5734336aa0d4c0384525da0387ef89148dc7191aae00ca5fb23d7aafc2"},- {file = "multidict-6.0.4.tar.gz", hash = "sha256:3666906492efb76453c0e7b97f2cf459b0682e7402c0489a95484965dbc1da49"},+ {file = "multidict-6.0.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:228b644ae063c10e7f324ab1ab6b548bdf6f8b47f3ec234fef1093bc2735e5f9"},+ {file = "multidict-6.0.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:896ebdcf62683551312c30e20614305f53125750803b614e9e6ce74a96232604"},+ {file = "multidict-6.0.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:411bf8515f3be9813d06004cac41ccf7d1cd46dfe233705933dd163b60e37600"},+ {file = "multidict-6.0.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d147090048129ce3c453f0292e7697d333db95e52616b3793922945804a433c"},+ {file = "multidict-6.0.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:215ed703caf15f578dca76ee6f6b21b7603791ae090fbf1ef9d865571039ade5"},+ {file = "multidict-6.0.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7c6390cf87ff6234643428991b7359b5f59cc15155695deb4eda5c777d2b880f"},+ {file = "multidict-6.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:21fd81c4ebdb4f214161be351eb5bcf385426bf023041da2fd9e60681f3cebae"},+ {file = "multidict-6.0.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3cc2ad10255f903656017363cd59436f2111443a76f996584d1077e43ee51182"},+ {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6939c95381e003f54cd4c5516740faba40cf5ad3eeff460c3ad1d3e0ea2549bf"},+ {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:220dd781e3f7af2c2c1053da9fa96d9cf3072ca58f057f4c5adaaa1cab8fc442"},+ {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:766c8f7511df26d9f11cd3a8be623e59cca73d44643abab3f8c8c07620524e4a"},+ {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:fe5d7785250541f7f5019ab9cba2c71169dc7d74d0f45253f8313f436458a4ef"},+ {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c1c1496e73051918fcd4f58ff2e0f2f3066d1c76a0c6aeffd9b45d53243702cc"},+ {file = "multidict-6.0.5-cp310-cp310-win32.whl", hash = "sha256:7afcdd1fc07befad18ec4523a782cde4e93e0a2bf71239894b8d61ee578c1319"},+ {file = "multidict-6.0.5-cp310-cp310-win_amd64.whl", hash = "sha256:99f60d34c048c5c2fabc766108c103612344c46e35d4ed9ae0673d33c8fb26e8"},+ {file = "multidict-6.0.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:f285e862d2f153a70586579c15c44656f888806ed0e5b56b64489afe4a2dbfba"},+ {file = "multidict-6.0.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:53689bb4e102200a4fafa9de9c7c3c212ab40a7ab2c8e474491914d2305f187e"},+ {file = "multidict-6.0.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:612d1156111ae11d14afaf3a0669ebf6c170dbb735e510a7438ffe2369a847fd"},+ {file = "multidict-6.0.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7be7047bd08accdb7487737631d25735c9a04327911de89ff1b26b81745bd4e3"},+ {file = "multidict-6.0.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:de170c7b4fe6859beb8926e84f7d7d6c693dfe8e27372ce3b76f01c46e489fcf"},+ {file = "multidict-6.0.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:04bde7a7b3de05732a4eb39c94574db1ec99abb56162d6c520ad26f83267de29"},+ {file = "multidict-6.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:85f67aed7bb647f93e7520633d8f51d3cbc6ab96957c71272b286b2f30dc70ed"},+ {file = "multidict-6.0.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:425bf820055005bfc8aa9a0b99ccb52cc2f4070153e34b701acc98d201693733"},+ {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d3eb1ceec286eba8220c26f3b0096cf189aea7057b6e7b7a2e60ed36b373b77f"},+ {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:7901c05ead4b3fb75113fb1dd33eb1253c6d3ee37ce93305acd9d38e0b5f21a4"},+ {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:e0e79d91e71b9867c73323a3444724d496c037e578a0e1755ae159ba14f4f3d1"},+ {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:29bfeb0dff5cb5fdab2023a7a9947b3b4af63e9c47cae2a10ad58394b517fddc"},+ {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e030047e85cbcedbfc073f71836d62dd5dadfbe7531cae27789ff66bc551bd5e"},+ {file = "multidict-6.0.5-cp311-cp311-win32.whl", hash = "sha256:2f4848aa3baa109e6ab81fe2006c77ed4d3cd1e0ac2c1fbddb7b1277c168788c"},+ {file = "multidict-6.0.5-cp311-cp311-win_amd64.whl", hash = "sha256:2faa5ae9376faba05f630d7e5e6be05be22913782b927b19d12b8145968a85ea"},+ {file = "multidict-6.0.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:51d035609b86722963404f711db441cf7134f1889107fb171a970c9701f92e1e"},+ {file = "multidict-6.0.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:cbebcd5bcaf1eaf302617c114aa67569dd3f090dd0ce8ba9e35e9985b41ac35b"},+ {file = "multidict-6.0.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2ffc42c922dbfddb4a4c3b438eb056828719f07608af27d163191cb3e3aa6cc5"},+ {file = "multidict-6.0.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ceb3b7e6a0135e092de86110c5a74e46bda4bd4fbfeeb3a3bcec79c0f861e450"},+ {file = "multidict-6.0.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:79660376075cfd4b2c80f295528aa6beb2058fd289f4c9252f986751a4cd0496"},+ {file = "multidict-6.0.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e4428b29611e989719874670fd152b6625500ad6c686d464e99f5aaeeaca175a"},+ {file = "multidict-6.0.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d84a5c3a5f7ce6db1f999fb9438f686bc2e09d38143f2d93d8406ed2dd6b9226"},+ {file = "multidict-6.0.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:76c0de87358b192de7ea9649beb392f107dcad9ad27276324c24c91774ca5271"},+ {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:79a6d2ba910adb2cbafc95dad936f8b9386e77c84c35bc0add315b856d7c3abb"},+ {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:92d16a3e275e38293623ebf639c471d3e03bb20b8ebb845237e0d3664914caef"},+ {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:fb616be3538599e797a2017cccca78e354c767165e8858ab5116813146041a24"},+ {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:14c2976aa9038c2629efa2c148022ed5eb4cb939e15ec7aace7ca932f48f9ba6"},+ {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:435a0984199d81ca178b9ae2c26ec3d49692d20ee29bc4c11a2a8d4514c67eda"},+ {file = "multidict-6.0.5-cp312-cp312-win32.whl", hash = "sha256:9fe7b0653ba3d9d65cbe7698cca585bf0f8c83dbbcc710db9c90f478e175f2d5"},+ {file = "multidict-6.0.5-cp312-cp312-win_amd64.whl", hash = "sha256:01265f5e40f5a17f8241d52656ed27192be03bfa8764d88e8220141d1e4b3556"},+ {file = "multidict-6.0.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:19fe01cea168585ba0f678cad6f58133db2aa14eccaf22f88e4a6dccadfad8b3"},+ {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6bf7a982604375a8d49b6cc1b781c1747f243d91b81035a9b43a2126c04766f5"},+ {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:107c0cdefe028703fb5dafe640a409cb146d44a6ae201e55b35a4af8e95457dd"},+ {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:403c0911cd5d5791605808b942c88a8155c2592e05332d2bf78f18697a5fa15e"},+ {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aeaf541ddbad8311a87dd695ed9642401131ea39ad7bc8cf3ef3967fd093b626"},+ {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e4972624066095e52b569e02b5ca97dbd7a7ddd4294bf4e7247d52635630dd83"},+ {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:d946b0a9eb8aaa590df1fe082cee553ceab173e6cb5b03239716338629c50c7a"},+ {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:b55358304d7a73d7bdf5de62494aaf70bd33015831ffd98bc498b433dfe5b10c"},+ {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:a3145cb08d8625b2d3fee1b2d596a8766352979c9bffe5d7833e0503d0f0b5e5"},+ {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:d65f25da8e248202bd47445cec78e0025c0fe7582b23ec69c3b27a640dd7a8e3"},+ {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:c9bf56195c6bbd293340ea82eafd0071cb3d450c703d2c93afb89f93b8386ccc"},+ {file = "multidict-6.0.5-cp37-cp37m-win32.whl", hash = "sha256:69db76c09796b313331bb7048229e3bee7928eb62bab5e071e9f7fcc4879caee"},+ {file = "multidict-6.0.5-cp37-cp37m-win_amd64.whl", hash = "sha256:fce28b3c8a81b6b36dfac9feb1de115bab619b3c13905b419ec71d03a3fc1423"},+ {file = "multidict-6.0.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:76f067f5121dcecf0d63a67f29080b26c43c71a98b10c701b0677e4a065fbd54"},+ {file = "multidict-6.0.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b82cc8ace10ab5bd93235dfaab2021c70637005e1ac787031f4d1da63d493c1d"},+ {file = "multidict-6.0.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:5cb241881eefd96b46f89b1a056187ea8e9ba14ab88ba632e68d7a2ecb7aadf7"},+ {file = "multidict-6.0.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e8e94e6912639a02ce173341ff62cc1201232ab86b8a8fcc05572741a5dc7d93"},+ {file = "multidict-6.0.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:09a892e4a9fb47331da06948690ae38eaa2426de97b4ccbfafbdcbe5c8f37ff8"},+ {file = "multidict-6.0.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:55205d03e8a598cfc688c71ca8ea5f66447164efff8869517f175ea632c7cb7b"},+ {file = "multidict-6.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:37b15024f864916b4951adb95d3a80c9431299080341ab9544ed148091b53f50"},+ {file = "multidict-6.0.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f2a1dee728b52b33eebff5072817176c172050d44d67befd681609b4746e1c2e"},+ {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:edd08e6f2f1a390bf137080507e44ccc086353c8e98c657e666c017718561b89"},+ {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:60d698e8179a42ec85172d12f50b1668254628425a6bd611aba022257cac1386"},+ {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:3d25f19500588cbc47dc19081d78131c32637c25804df8414463ec908631e453"},+ {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:4cc0ef8b962ac7a5e62b9e826bd0cd5040e7d401bc45a6835910ed699037a461"},+ {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:eca2e9d0cc5a889850e9bbd68e98314ada174ff6ccd1129500103df7a94a7a44"},+ {file = "multidict-6.0.5-cp38-cp38-win32.whl", hash = "sha256:4a6a4f196f08c58c59e0b8ef8ec441d12aee4125a7d4f4fef000ccb22f8d7241"},+ {file = "multidict-6.0.5-cp38-cp38-win_amd64.whl", hash = "sha256:0275e35209c27a3f7951e1ce7aaf93ce0d163b28948444bec61dd7badc6d3f8c"},+ {file = "multidict-6.0.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:e7be68734bd8c9a513f2b0cfd508802d6609da068f40dc57d4e3494cefc92929"},+ {file = "multidict-6.0.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1d9ea7a7e779d7a3561aade7d596649fbecfa5c08a7674b11b423783217933f9"},+ {file = "multidict-6.0.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ea1456df2a27c73ce51120fa2f519f1bea2f4a03a917f4a43c8707cf4cbbae1a"},+ {file = "multidict-6.0.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cf590b134eb70629e350691ecca88eac3e3b8b3c86992042fb82e3cb1830d5e1"},+ {file = "multidict-6.0.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5c0631926c4f58e9a5ccce555ad7747d9a9f8b10619621f22f9635f069f6233e"},+ {file = "multidict-6.0.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dce1c6912ab9ff5f179eaf6efe7365c1f425ed690b03341911bf4939ef2f3046"},+ {file = "multidict-6.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0868d64af83169e4d4152ec612637a543f7a336e4a307b119e98042e852ad9c"},+ {file = "multidict-6.0.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:141b43360bfd3bdd75f15ed811850763555a251e38b2405967f8e25fb43f7d40"},+ {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:7df704ca8cf4a073334e0427ae2345323613e4df18cc224f647f251e5e75a527"},+ {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:6214c5a5571802c33f80e6c84713b2c79e024995b9c5897f794b43e714daeec9"},+ {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:cd6c8fca38178e12c00418de737aef1261576bd1b6e8c6134d3e729a4e858b38"},+ {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:e02021f87a5b6932fa6ce916ca004c4d441509d33bbdbeca70d05dff5e9d2479"},+ {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ebd8d160f91a764652d3e51ce0d2956b38efe37c9231cd82cfc0bed2e40b581c"},+ {file = "multidict-6.0.5-cp39-cp39-win32.whl", hash = "sha256:04da1bb8c8dbadf2a18a452639771951c662c5ad03aefe4884775454be322c9b"},+ {file = "multidict-6.0.5-cp39-cp39-win_amd64.whl", hash = "sha256:d6f6d4f185481c9669b9447bf9d9cf3b95a0e9df9d169bbc17e363b7d5487755"},+ {file = "multidict-6.0.5-py3-none-any.whl", hash = "sha256:0d63c74e3d7ab26de115c49bffc92cc77ed23395303d496eae515d4204a625e7"},+ {file = "multidict-6.0.5.tar.gz", hash = "sha256:f7e301075edaf50500f0b341543c41194d8df3ae5caf4702f2095f3ca73dd8da"},][[package]]@@ -2048,55 +2080,132 @@ files = [[[package]]name = "pydantic"-version = "1.10.13"-description = "Data validation and settings management using python type hints"+version = "2.7.4"+description = "Data validation using Python type hints"optional = false-python-versions = ">=3.7"+python-versions = ">=3.8"+files = [+ {file = "pydantic-2.7.4-py3-none-any.whl", hash = "sha256:ee8538d41ccb9c0a9ad3e0e5f07bf15ed8015b481ced539a1759d8cc89ae90d0"},+ {file = "pydantic-2.7.4.tar.gz", hash = "sha256:0c84efd9548d545f63ac0060c1e4d39bb9b14db8b3c0652338aecc07b5adec52"},+]++[package.dependencies]+annotated-types = ">=0.4.0"+pydantic-core = "2.18.4"+typing-extensions = ">=4.6.1"++[package.extras]+email = ["email-validator (>=2.0.0)"]++[[package]]+name = "pydantic-core"+version = "2.18.4"+description = "Core functionality for Pydantic validation and serialization"+optional = false+python-versions = ">=3.8"+files = [+ {file = "pydantic_core-2.18.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:f76d0ad001edd426b92233d45c746fd08f467d56100fd8f30e9ace4b005266e4"},+ {file = "pydantic_core-2.18.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:59ff3e89f4eaf14050c8022011862df275b552caef8082e37b542b066ce1ff26"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a55b5b16c839df1070bc113c1f7f94a0af4433fcfa1b41799ce7606e5c79ce0a"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:4d0dcc59664fcb8974b356fe0a18a672d6d7cf9f54746c05f43275fc48636851"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8951eee36c57cd128f779e641e21eb40bc5073eb28b2d23f33eb0ef14ffb3f5d"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4701b19f7e3a06ea655513f7938de6f108123bf7c86bbebb1196eb9bd35cf724"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e00a3f196329e08e43d99b79b286d60ce46bed10f2280d25a1718399457e06be"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:97736815b9cc893b2b7f663628e63f436018b75f44854c8027040e05230eeddb"},+ {file = "pydantic_core-2.18.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6891a2ae0e8692679c07728819b6e2b822fb30ca7445f67bbf6509b25a96332c"},+ {file = "pydantic_core-2.18.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bc4ff9805858bd54d1a20efff925ccd89c9d2e7cf4986144b30802bf78091c3e"},+ {file = "pydantic_core-2.18.4-cp310-none-win32.whl", hash = "sha256:1b4de2e51bbcb61fdebd0ab86ef28062704f62c82bbf4addc4e37fa4b00b7cbc"},+ {file = "pydantic_core-2.18.4-cp310-none-win_amd64.whl", hash = "sha256:6a750aec7bf431517a9fd78cb93c97b9b0c496090fee84a47a0d23668976b4b0"},+ {file = "pydantic_core-2.18.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:942ba11e7dfb66dc70f9ae66b33452f51ac7bb90676da39a7345e99ffb55402d"},+ {file = "pydantic_core-2.18.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:b2ebef0e0b4454320274f5e83a41844c63438fdc874ea40a8b5b4ecb7693f1c4"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a642295cd0c8df1b86fc3dced1d067874c353a188dc8e0f744626d49e9aa51c4"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f09baa656c904807e832cf9cce799c6460c450c4ad80803517032da0cd062e2"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:98906207f29bc2c459ff64fa007afd10a8c8ac080f7e4d5beff4c97086a3dabd"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:19894b95aacfa98e7cb093cd7881a0c76f55731efad31073db4521e2b6ff5b7d"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0fbbdc827fe5e42e4d196c746b890b3d72876bdbf160b0eafe9f0334525119c8"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f85d05aa0918283cf29a30b547b4df2fbb56b45b135f9e35b6807cb28bc47951"},+ {file = "pydantic_core-2.18.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e85637bc8fe81ddb73fda9e56bab24560bdddfa98aa64f87aaa4e4b6730c23d2"},+ {file = "pydantic_core-2.18.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:2f5966897e5461f818e136b8451d0551a2e77259eb0f73a837027b47dc95dab9"},+ {file = "pydantic_core-2.18.4-cp311-none-win32.whl", hash = "sha256:44c7486a4228413c317952e9d89598bcdfb06399735e49e0f8df643e1ccd0558"},+ {file = "pydantic_core-2.18.4-cp311-none-win_amd64.whl", hash = "sha256:8a7164fe2005d03c64fd3b85649891cd4953a8de53107940bf272500ba8a788b"},+ {file = "pydantic_core-2.18.4-cp311-none-win_arm64.whl", hash = "sha256:4e99bc050fe65c450344421017f98298a97cefc18c53bb2f7b3531eb39bc7805"},+ {file = "pydantic_core-2.18.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:6f5c4d41b2771c730ea1c34e458e781b18cc668d194958e0112455fff4e402b2"},+ {file = "pydantic_core-2.18.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2fdf2156aa3d017fddf8aea5adfba9f777db1d6022d392b682d2a8329e087cef"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4748321b5078216070b151d5271ef3e7cc905ab170bbfd27d5c83ee3ec436695"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:847a35c4d58721c5dc3dba599878ebbdfd96784f3fb8bb2c356e123bdcd73f34"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3c40d4eaad41f78e3bbda31b89edc46a3f3dc6e171bf0ecf097ff7a0ffff7cb1"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:21a5e440dbe315ab9825fcd459b8814bb92b27c974cbc23c3e8baa2b76890077"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:01dd777215e2aa86dfd664daed5957704b769e726626393438f9c87690ce78c3"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4b06beb3b3f1479d32befd1f3079cc47b34fa2da62457cdf6c963393340b56e9"},+ {file = "pydantic_core-2.18.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:564d7922e4b13a16b98772441879fcdcbe82ff50daa622d681dd682175ea918c"},+ {file = "pydantic_core-2.18.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:0eb2a4f660fcd8e2b1c90ad566db2b98d7f3f4717c64fe0a83e0adb39766d5b8"},+ {file = "pydantic_core-2.18.4-cp312-none-win32.whl", hash = "sha256:8b8bab4c97248095ae0c4455b5a1cd1cdd96e4e4769306ab19dda135ea4cdb07"},+ {file = "pydantic_core-2.18.4-cp312-none-win_amd64.whl", hash = "sha256:14601cdb733d741b8958224030e2bfe21a4a881fb3dd6fbb21f071cabd48fa0a"},+ {file = "pydantic_core-2.18.4-cp312-none-win_arm64.whl", hash = "sha256:c1322d7dd74713dcc157a2b7898a564ab091ca6c58302d5c7b4c07296e3fd00f"},+ {file = "pydantic_core-2.18.4-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:823be1deb01793da05ecb0484d6c9e20baebb39bd42b5d72636ae9cf8350dbd2"},+ {file = "pydantic_core-2.18.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:ebef0dd9bf9b812bf75bda96743f2a6c5734a02092ae7f721c048d156d5fabae"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ae1d6df168efb88d7d522664693607b80b4080be6750c913eefb77e34c12c71a"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f9899c94762343f2cc2fc64c13e7cae4c3cc65cdfc87dd810a31654c9b7358cc"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:99457f184ad90235cfe8461c4d70ab7dd2680e28821c29eca00252ba90308c78"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:18f469a3d2a2fdafe99296a87e8a4c37748b5080a26b806a707f25a902c040a8"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b7cdf28938ac6b8b49ae5e92f2735056a7ba99c9b110a474473fd71185c1af5d"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:938cb21650855054dc54dfd9120a851c974f95450f00683399006aa6e8abb057"},+ {file = "pydantic_core-2.18.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:44cd83ab6a51da80fb5adbd9560e26018e2ac7826f9626bc06ca3dc074cd198b"},+ {file = "pydantic_core-2.18.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:972658f4a72d02b8abfa2581d92d59f59897d2e9f7e708fdabe922f9087773af"},+ {file = "pydantic_core-2.18.4-cp38-none-win32.whl", hash = "sha256:1d886dc848e60cb7666f771e406acae54ab279b9f1e4143babc9c2258213daa2"},+ {file = "pydantic_core-2.18.4-cp38-none-win_amd64.whl", hash = "sha256:bb4462bd43c2460774914b8525f79b00f8f407c945d50881568f294c1d9b4443"},+ {file = "pydantic_core-2.18.4-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:44a688331d4a4e2129140a8118479443bd6f1905231138971372fcde37e43528"},+ {file = "pydantic_core-2.18.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a2fdd81edd64342c85ac7cf2753ccae0b79bf2dfa063785503cb85a7d3593223"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:86110d7e1907ab36691f80b33eb2da87d780f4739ae773e5fc83fb272f88825f"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:46387e38bd641b3ee5ce247563b60c5ca098da9c56c75c157a05eaa0933ed154"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:123c3cec203e3f5ac7b000bd82235f1a3eced8665b63d18be751f115588fea30"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dc1803ac5c32ec324c5261c7209e8f8ce88e83254c4e1aebdc8b0a39f9ddb443"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:53db086f9f6ab2b4061958d9c276d1dbe3690e8dd727d6abf2321d6cce37fa94"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:abc267fa9837245cc28ea6929f19fa335f3dc330a35d2e45509b6566dc18be23"},+ {file = "pydantic_core-2.18.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:a0d829524aaefdebccb869eed855e2d04c21d2d7479b6cada7ace5448416597b"},+ {file = "pydantic_core-2.18.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:509daade3b8649f80d4e5ff21aa5673e4ebe58590b25fe42fac5f0f52c6f034a"},+ {file = "pydantic_core-2.18.4-cp39-none-win32.whl", hash = "sha256:ca26a1e73c48cfc54c4a76ff78df3727b9d9f4ccc8dbee4ae3f73306a591676d"},+ {file = "pydantic_core-2.18.4-cp39-none-win_amd64.whl", hash = "sha256:c67598100338d5d985db1b3d21f3619ef392e185e71b8d52bceacc4a7771ea7e"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:574d92eac874f7f4db0ca653514d823a0d22e2354359d0759e3f6a406db5d55d"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:1f4d26ceb5eb9eed4af91bebeae4b06c3fb28966ca3a8fb765208cf6b51102ab"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77450e6d20016ec41f43ca4a6c63e9fdde03f0ae3fe90e7c27bdbeaece8b1ed4"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d323a01da91851a4f17bf592faf46149c9169d68430b3146dcba2bb5e5719abc"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:43d447dd2ae072a0065389092a231283f62d960030ecd27565672bd40746c507"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:578e24f761f3b425834f297b9935e1ce2e30f51400964ce4801002435a1b41ef"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:81b5efb2f126454586d0f40c4d834010979cb80785173d1586df845a632e4e6d"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:ab86ce7c8f9bea87b9d12c7f0af71102acbf5ecbc66c17796cff45dae54ef9a5"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:90afc12421df2b1b4dcc975f814e21bc1754640d502a2fbcc6d41e77af5ec312"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:51991a89639a912c17bef4b45c87bd83593aee0437d8102556af4885811d59f5"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:293afe532740370aba8c060882f7d26cfd00c94cae32fd2e212a3a6e3b7bc15e"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b48ece5bde2e768197a2d0f6e925f9d7e3e826f0ad2271120f8144a9db18d5c8"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:eae237477a873ab46e8dd748e515c72c0c804fb380fbe6c85533c7de51f23a8f"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:834b5230b5dfc0c1ec37b2fda433b271cbbc0e507560b5d1588e2cc1148cf1ce"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:e858ac0a25074ba4bce653f9b5d0a85b7456eaddadc0ce82d3878c22489fa4ee"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:2fd41f6eff4c20778d717af1cc50eca52f5afe7805ee530a4fbd0bae284f16e9"},+ {file = "pydantic_core-2.18.4.tar.gz", hash = "sha256:ec3beeada09ff865c344ff3bc2f427f5e6c26401cc6113d77e372c3fdac73864"},+]++[package.dependencies]+typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0"++[[package]]+name = "pydantic-settings"+version = "2.3.4"+description = "Settings management using Pydantic"+optional = false+python-versions = ">=3.8"files = [- {file = "pydantic-1.10.13-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:efff03cc7a4f29d9009d1c96ceb1e7a70a65cfe86e89d34e4a5f2ab1e5693737"},- {file = "pydantic-1.10.13-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:3ecea2b9d80e5333303eeb77e180b90e95eea8f765d08c3d278cd56b00345d01"},- {file = "pydantic-1.10.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1740068fd8e2ef6eb27a20e5651df000978edce6da6803c2bef0bc74540f9548"},- {file = "pydantic-1.10.13-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:84bafe2e60b5e78bc64a2941b4c071a4b7404c5c907f5f5a99b0139781e69ed8"},- {file = "pydantic-1.10.13-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:bc0898c12f8e9c97f6cd44c0ed70d55749eaf783716896960b4ecce2edfd2d69"},- {file = "pydantic-1.10.13-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:654db58ae399fe6434e55325a2c3e959836bd17a6f6a0b6ca8107ea0571d2e17"},- {file = "pydantic-1.10.13-cp310-cp310-win_amd64.whl", hash = "sha256:75ac15385a3534d887a99c713aa3da88a30fbd6204a5cd0dc4dab3d770b9bd2f"},- {file = "pydantic-1.10.13-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c553f6a156deb868ba38a23cf0df886c63492e9257f60a79c0fd8e7173537653"},- {file = "pydantic-1.10.13-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5e08865bc6464df8c7d61439ef4439829e3ab62ab1669cddea8dd00cd74b9ffe"},- {file = "pydantic-1.10.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e31647d85a2013d926ce60b84f9dd5300d44535a9941fe825dc349ae1f760df9"},- {file = "pydantic-1.10.13-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:210ce042e8f6f7c01168b2d84d4c9eb2b009fe7bf572c2266e235edf14bacd80"},- {file = "pydantic-1.10.13-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:8ae5dd6b721459bfa30805f4c25880e0dd78fc5b5879f9f7a692196ddcb5a580"},- {file = "pydantic-1.10.13-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f8e81fc5fb17dae698f52bdd1c4f18b6ca674d7068242b2aff075f588301bbb0"},- {file = "pydantic-1.10.13-cp311-cp311-win_amd64.whl", hash = "sha256:61d9dce220447fb74f45e73d7ff3b530e25db30192ad8d425166d43c5deb6df0"},- {file = "pydantic-1.10.13-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:4b03e42ec20286f052490423682016fd80fda830d8e4119f8ab13ec7464c0132"},- {file = "pydantic-1.10.13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f59ef915cac80275245824e9d771ee939133be38215555e9dc90c6cb148aaeb5"},- {file = "pydantic-1.10.13-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5a1f9f747851338933942db7af7b6ee8268568ef2ed86c4185c6ef4402e80ba8"},- {file = "pydantic-1.10.13-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:97cce3ae7341f7620a0ba5ef6cf043975cd9d2b81f3aa5f4ea37928269bc1b87"},- {file = "pydantic-1.10.13-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:854223752ba81e3abf663d685f105c64150873cc6f5d0c01d3e3220bcff7d36f"},- {file = "pydantic-1.10.13-cp37-cp37m-win_amd64.whl", hash = "sha256:b97c1fac8c49be29486df85968682b0afa77e1b809aff74b83081cc115e52f33"},- {file = "pydantic-1.10.13-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c958d053453a1c4b1c2062b05cd42d9d5c8eb67537b8d5a7e3c3032943ecd261"},- {file = "pydantic-1.10.13-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4c5370a7edaac06daee3af1c8b1192e305bc102abcbf2a92374b5bc793818599"},- {file = "pydantic-1.10.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7d6f6e7305244bddb4414ba7094ce910560c907bdfa3501e9db1a7fd7eaea127"},- {file = "pydantic-1.10.13-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d3a3c792a58e1622667a2837512099eac62490cdfd63bd407993aaf200a4cf1f"},- {file = "pydantic-1.10.13-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:c636925f38b8db208e09d344c7aa4f29a86bb9947495dd6b6d376ad10334fb78"},- {file = "pydantic-1.10.13-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:678bcf5591b63cc917100dc50ab6caebe597ac67e8c9ccb75e698f66038ea953"},- {file = "pydantic-1.10.13-cp38-cp38-win_amd64.whl", hash = "sha256:6cf25c1a65c27923a17b3da28a0bdb99f62ee04230c931d83e888012851f4e7f"},- {file = "pydantic-1.10.13-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:8ef467901d7a41fa0ca6db9ae3ec0021e3f657ce2c208e98cd511f3161c762c6"},- {file = "pydantic-1.10.13-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:968ac42970f57b8344ee08837b62f6ee6f53c33f603547a55571c954a4225691"},- {file = "pydantic-1.10.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9849f031cf8a2f0a928fe885e5a04b08006d6d41876b8bbd2fc68a18f9f2e3fd"},- {file = "pydantic-1.10.13-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:56e3ff861c3b9c6857579de282ce8baabf443f42ffba355bf070770ed63e11e1"},- {file = "pydantic-1.10.13-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f00790179497767aae6bcdc36355792c79e7bbb20b145ff449700eb076c5f96"},- {file = "pydantic-1.10.13-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:75b297827b59bc229cac1a23a2f7a4ac0031068e5be0ce385be1462e7e17a35d"},- {file = "pydantic-1.10.13-cp39-cp39-win_amd64.whl", hash = "sha256:e70ca129d2053fb8b728ee7d1af8e553a928d7e301a311094b8a0501adc8763d"},- {file = "pydantic-1.10.13-py3-none-any.whl", hash = "sha256:b87326822e71bd5f313e7d3bfdc77ac3247035ac10b0c0618bd99dcf95b1e687"},- {file = "pydantic-1.10.13.tar.gz", hash = "sha256:32c8b48dcd3b2ac4e78b0ba4af3a2c2eb6048cb75202f0ea7b34feb740efc340"},+ {file = "pydantic_settings-2.3.4-py3-none-any.whl", hash = "sha256:11ad8bacb68a045f00e4f862c7a718c8a9ec766aa8fd4c32e39a0594b207b53a"},+ {file = "pydantic_settings-2.3.4.tar.gz", hash = "sha256:c5802e3d62b78e82522319bbc9b8f8ffb28ad1c988a99311d04f2a6051fca0a7"},][package.dependencies]-typing-extensions = ">=4.2.0"+pydantic = ">=2.7.0"+python-dotenv = ">=0.21.0"[package.extras]-dotenv = ["python-dotenv (>=0.10.4)"]-email = ["email-validator (>=1.0.3)"]+toml = ["tomli (>=2.0.1)"]+yaml = ["pyyaml (>=6.0.1)"][[package]]name = "pyflakes"@@ -2839,4 +2948,4 @@ multidict = ">=4.0"[metadata]lock-version = "2.0"python-versions = "^3.10"-content-hash = "e2f776ebc12fd879b0ad60ffff4a7eae23cbf21214bcf85c1e89167da51f9e44"+content-hash = "26bd75befe5223095b65be293086edf52f34f9043e49107c80a105dc0387dd6a"diff --git a/benchmark/pyproject.toml b/benchmark/pyproject.tomlindex 349972a3c4..804cf1b438 100644--- a/benchmark/pyproject.toml+++ b/benchmark/pyproject.toml@@ -9,8 +9,7 @@ packages = [{ include = "agbenchmark" }][tool.poetry.dependencies]python = "^3.10"-# helicone = "^1.0.9" # incompatible with openai@^1.0.0-agent-protocol-client = "^1.1.0"+agent-protocol-client = {git = "https://github.com/Significant-Gravitas/agent-protocol.git", subdirectory = "packages/client/python"}click = "^8.1.3"click-default-group = "^1.2.4"colorama = "^0.4.6"@@ -18,12 +17,15 @@ fastapi = "^0.109.1"gitpython = "^3.1.32"httpx = "^0.24.0"matplotlib = "^3.7.2"+# Multidict 6.0.4 fails to install and is a dependency of aiohttp which is a depenedency of agent-protocol-client+multidict = "^6.0.5"networkx = "^3.1"openai = "^1.7.2"pandas = "^2.0.3"pexpect = "^4.8.0"psutil = "^5.9.5"-pydantic = "^1.10.9"+pydantic = "^2.7.2"+pydantic-settings = "^2.3.4"pytest = "^7.3.2"pytest-asyncio = "^0.23.3"python-dotenv = "^1.0.0"diff --git a/benchmark/reports/format.py b/benchmark/reports/format.pyindex 8a43ea1e37..e4b6469db9 100755--- a/benchmark/reports/format.py+++ b/benchmark/reports/format.py@@ -1,5 +1,6 @@#!/usr/bin/env python3+from pathlib import Pathimport clickfrom agbenchmark.reports.processing.report_types import Report@@ -7,14 +8,14 @@ from agbenchmark.reports.processing.report_types import Report@click.command()@click.argument("report_json_file", type=click.Path(exists=True, dir_okay=False))-def print_markdown_report(report_json_file: str):+def print_markdown_report(report_json_file: Path):"""Generates a Markdown report from a given report.json file.:param report_json_file: Path to the report.json file.:return: A string containing the Markdown formatted report."""- report = Report.parse_file(report_json_file)+ report = Report.model_validate_json(report_json_file.read_text())# Header and metadataclick.echo("# Benchmark Report")diff --git a/benchmark/reports/match_records.py b/benchmark/reports/match_records.pyindex 251fa68c60..916611a3bb 100644--- a/benchmark/reports/match_records.py+++ b/benchmark/reports/match_records.py@@ -14,7 +14,7 @@ from pydantic import BaseModel, Fieldclass Metrics(BaseModel):difficulty: strsuccess: bool- success_percent: float = Field(..., alias="success_%")+ success_percent: float = Field(alias="success_%")run_time: Optional[str] = Nonefail_reason: Optional[str] = Noneattempted: Optional[bool] = None@@ -100,7 +100,7 @@ def get_reports():# Load the JSON data from the filejson_data = json.load(f)print(f"Processing {report_file}")- report = Report.parse_obj(json_data)+ report = Report.model_validate(json_data)for test_name, test_data in report.tests.items():test_json = {diff --git a/forge/forge/agent/base.py b/forge/forge/agent/base.pyindex 91450feb82..8d3b3be402 100644--- a/forge/forge/agent/base.py+++ b/forge/forge/agent/base.py@@ -2,7 +2,6 @@ from __future__ import annotationsimport copyimport inspect-import jsonimport loggingfrom abc import ABCMeta, abstractmethodfrom typing import (@@ -19,7 +18,8 @@ from typing import ()from colorama import Fore-from pydantic import BaseModel, Field, parse_raw_as, validator+from pydantic import BaseModel, Field, ValidationInfo, field_validator+from pydantic_core import from_json, to_jsonfrom forge.agent import protocolsfrom forge.agent.components import (@@ -47,11 +47,6 @@ DEFAULT_TRIGGERING_PROMPT = ()-# HACK: This is a workaround wrapper to de/serialize component configs until pydantic v2-class ModelContainer(BaseModel):- models: dict[str, BaseModel]--class BaseAgentConfiguration(SystemConfiguration):allow_fs_access: bool = UserConfigurable(default=False)@@ -77,10 +72,10 @@ class BaseAgentConfiguration(SystemConfiguration):`0` to stop the agent."""- cycles_remaining = cycle_budget+ cycles_remaining: int = cycle_budget"""The number of cycles remaining within the `cycle_budget`."""- cycle_count = 0+ cycle_count: int = 0"""The number of cycles that the agent has run since its initialization."""send_token_limit: Optional[int] = None@@ -89,11 +84,11 @@ class BaseAgentConfiguration(SystemConfiguration):defaults to 75% of `llm.max_tokens`."""- @validator("use_functions_api")- def validate_openai_functions(cls, v: bool, values: dict[str, Any]):- if v:- smart_llm = values["smart_llm"]- fast_llm = values["fast_llm"]+ @field_validator("use_functions_api")+ def validate_openai_functions(cls, value: bool, info: ValidationInfo):+ if value:+ smart_llm = info.data["smart_llm"]+ fast_llm = info.data["fast_llm"]assert all([not any(s in name for s in {"-0301", "-0314"})@@ -103,7 +98,7 @@ class BaseAgentConfiguration(SystemConfiguration):f"Model {smart_llm} does not support OpenAI Functions. ""Please disable OPENAI_FUNCTIONS or choose a suitable model.")- return v+ return valueclass BaseAgentSettings(SystemSettings):@@ -277,17 +272,15 @@ class BaseAgent(Generic[AnyProposal], metaclass=AgentMeta):return method_resultdef dump_component_configs(self) -> str:- configs = {}+ configs: dict[str, Any] = {}for component in self.components:if isinstance(component, ConfigurableComponent):config_type_name = component.config.__class__.__name__configs[config_type_name] = component.config- data = ModelContainer(models=configs).json()- raw = parse_raw_as(dict[str, dict[str, Any]], data)- return json.dumps(raw["models"], indent=4)+ return to_json(configs).decode()def load_component_configs(self, serialized_configs: str):- configs_dict = parse_raw_as(dict[str, dict[str, Any]], serialized_configs)+ configs_dict: dict[str, dict[str, Any]] = from_json(serialized_configs)for component in self.components:if not isinstance(component, ConfigurableComponent):@@ -297,7 +290,7 @@ class BaseAgent(Generic[AnyProposal], metaclass=AgentMeta):if config_type_name in configs_dict:# Parse the serialized data and update the existing configupdated_data = configs_dict[config_type_name]- data = {**component.config.dict(), **updated_data}+ data = {**component.config.model_dump(), **updated_data}component.config = component.config.__class__(**data)def _collect_components(self):@@ -353,7 +346,7 @@ class BaseAgent(Generic[AnyProposal], metaclass=AgentMeta):copied_item = item.copy()elif isinstance(item, BaseModel):# Deep copy for Pydantic models (deep=True to also copy nested models)- copied_item = item.copy(deep=True)+ copied_item = item.model_copy(deep=True)else:# Deep copy for other objectscopied_item = copy.deepcopy(item)diff --git a/forge/forge/agent/components.py b/forge/forge/agent/components.pyindex d97a5cd534..c1fd1731d7 100644--- a/forge/forge/agent/components.py+++ b/forge/forge/agent/components.py@@ -67,7 +67,7 @@ class ConfigurableComponent(ABC, Generic[BM]):if not hasattr(self, "_config") or self._config is None:# Load configuration from environment variablesupdated = _update_user_config_from_env(config)- config = self.config_class(**deep_update(config.dict(), updated))+ config = self.config_class(**deep_update(config.model_dump(), updated))self._config = configdiff --git a/forge/forge/agent/forge_agent.py b/forge/forge/agent/forge_agent.pyindex f494ccb567..e6e84e1d21 100644--- a/forge/forge/agent/forge_agent.py+++ b/forge/forge/agent/forge_agent.py@@ -149,7 +149,7 @@ class ForgeAgent(ProtocolAgent, BaseAgent):self.reset_trace()# Get directives- directives = self.state.directives.copy(deep=True)+ directives = self.state.directives.model_copy(deep=True)directives.resources += await self.run_pipeline(DirectiveProvider.get_resources)directives.constraints += await self.run_pipeline(DirectiveProvider.get_constraintsdiff --git a/forge/forge/agent_protocol/models/artifact.py b/forge/forge/agent_protocol/models/artifact.pyindex 3219063bf9..df17b99235 100644--- a/forge/forge/agent_protocol/models/artifact.py+++ b/forge/forge/agent_protocol/models/artifact.py@@ -1,38 +1,34 @@from datetime import datetime-from pydantic import BaseModel, Field+from pydantic import BaseModel, ConfigDict, Fieldclass Artifact(BaseModel):created_at: datetime = Field(- ...,description="The creation datetime of the task.",- example="2023-01-01T00:00:00Z",- json_encoders={datetime: lambda v: v.isoformat()},+ examples=["2023-01-01T00:00:00Z"],)modified_at: datetime = Field(- ...,description="The modification datetime of the task.",- example="2023-01-01T00:00:00Z",- json_encoders={datetime: lambda v: v.isoformat()},+ examples=["2023-01-01T00:00:00Z"],)artifact_id: str = Field(- ...,description="ID of the artifact.",- example="b225e278-8b4c-4f99-a696-8facf19f0e56",+ examples=["b225e278-8b4c-4f99-a696-8facf19f0e56"],)agent_created: bool = Field(- ...,description="Whether the artifact has been created by the agent.",- example=False,+ examples=[False],)relative_path: str = Field(- ...,description="Relative path of the artifact in the agents workspace.",- example="/my_folder/my_other_folder/",+ examples=["/my_folder/my_other_folder/"],)file_name: str = Field(- ...,description="Filename of the artifact.",- example="main.py",+ examples=["main.py"],+ )++ model_config = ConfigDict(+ json_encoders={datetime: lambda v: v.isoformat()},)diff --git a/forge/forge/agent_protocol/models/pagination.py b/forge/forge/agent_protocol/models/pagination.pyindex 1f77d97ae4..4c98ce8a02 100644--- a/forge/forge/agent_protocol/models/pagination.py+++ b/forge/forge/agent_protocol/models/pagination.py@@ -2,7 +2,7 @@ from pydantic import BaseModel, Fieldclass Pagination(BaseModel):- total_items: int = Field(..., description="Total number of items.", example=42)- total_pages: int = Field(..., description="Total number of pages.", example=97)- current_page: int = Field(..., description="Current_page page number.", example=1)- page_size: int = Field(..., description="Number of items per page.", example=25)+ total_items: int = Field(description="Total number of items.", examples=[42])+ total_pages: int = Field(description="Total number of pages.", examples=[97])+ current_page: int = Field(description="Current_page page number.", examples=[1])+ page_size: int = Field(description="Number of items per page.", examples=[25])diff --git a/forge/forge/agent_protocol/models/task.py b/forge/forge/agent_protocol/models/task.pyindex c7e30cbdbb..2d15bcc2bd 100644--- a/forge/forge/agent_protocol/models/task.py+++ b/forge/forge/agent_protocol/models/task.py@@ -4,7 +4,7 @@ from datetime import datetimefrom enum import Enumfrom typing import Any, List, Optional-from pydantic import BaseModel, Field+from pydantic import BaseModel, ConfigDict, Fieldfrom .artifact import Artifactfrom .pagination import Pagination@@ -12,48 +12,48 @@ from .pagination import Paginationclass TaskRequestBody(BaseModel):input: str = Field(- ...,min_length=1,description="Input prompt for the task.",- example="Write the words you receive to the file 'output.txt'.",+ examples=["Write the words you receive to the file 'output.txt'."],)additional_input: dict[str, Any] = Field(default_factory=dict)class Task(TaskRequestBody):created_at: datetime = Field(- ...,description="The creation datetime of the task.",- example="2023-01-01T00:00:00Z",- json_encoders={datetime: lambda v: v.isoformat()},+ examples=["2023-01-01T00:00:00Z"],)modified_at: datetime = Field(- ...,description="The modification datetime of the task.",- example="2023-01-01T00:00:00Z",- json_encoders={datetime: lambda v: v.isoformat()},+ examples=["2023-01-01T00:00:00Z"],)task_id: str = Field(- ...,description="The ID of the task.",- example="50da533e-3904-4401-8a07-c49adf88b5eb",+ examples=["50da533e-3904-4401-8a07-c49adf88b5eb"],)artifacts: list[Artifact] = Field(default_factory=list,description="A list of artifacts that the task has produced.",- example=[+ examples=["7a49f31c-f9c6-4346-a22c-e32bc5af4d8e","ab7b4091-2560-4692-a4fe-d831ea3ca7d6",],)+ model_config = ConfigDict(+ json_encoders={datetime: lambda v: v.isoformat()},+ )+class StepRequestBody(BaseModel):name: Optional[str] = Field(- default=None, description="The name of the task step.", example="Write to file"+ default=None,+ description="The name of the task step.",+ examples=["Write to file"],)input: str = Field(- ..., description="Input prompt for the step.", example="Washington"+ description="Input prompt for the step.", examples=["Washington"])additional_input: dict[str, Any] = Field(default_factory=dict)@@ -66,40 +66,44 @@ class StepStatus(Enum):class Step(StepRequestBody):created_at: datetime = Field(- ...,description="The creation datetime of the task.",- example="2023-01-01T00:00:00Z",- json_encoders={datetime: lambda v: v.isoformat()},+ examples=[+ "2023-01-01T00:00:00Z",+ ],)modified_at: datetime = Field(- ...,description="The modification datetime of the task.",- example="2023-01-01T00:00:00Z",- json_encoders={datetime: lambda v: v.isoformat()},+ examples=[+ "2023-01-01T00:00:00Z",+ ],)task_id: str = Field(- ...,description="The ID of the task this step belongs to.",- example="50da533e-3904-4401-8a07-c49adf88b5eb",+ examples=[+ "50da533e-3904-4401-8a07-c49adf88b5eb",+ ],)step_id: str = Field(- ...,description="The ID of the task step.",- example="6bb1801a-fd80-45e8-899a-4dd723cc602e",+ examples=[+ "6bb1801a-fd80-45e8-899a-4dd723cc602e",+ ],)name: Optional[str] = Field(- default=None, description="The name of the task step.", example="Write to file"+ default=None,+ description="The name of the task step.",+ examples=["Write to file"],)status: StepStatus = Field(- ..., description="The status of the task step.", example="created"+ description="The status of the task step.", examples=["created"])output: Optional[str] = Field(default=None,description="Output of the task step.",- example=(+ examples=["I am going to use the write_to_file command and write Washington ""to a file called output.txt <write_to_file('output.txt', 'Washington')"- ),+ ],)additional_output: Optional[dict[str, Any]] = Noneartifacts: list[Artifact] = Field(@@ -107,7 +111,11 @@ class Step(StepRequestBody):description="A list of artifacts that the step has produced.",)is_last: bool = Field(- ..., description="Whether this is the last step in the task.", example=True+ description="Whether this is the last step in the task.", examples=[True]+ )++ model_config = ConfigDict(+ json_encoders={datetime: lambda v: v.isoformat()},)diff --git a/forge/forge/components/action_history/model.py b/forge/forge/components/action_history/model.pyindex d619dc9348..299db98667 100644--- a/forge/forge/components/action_history/model.py+++ b/forge/forge/components/action_history/model.py@@ -3,8 +3,7 @@ from __future__ import annotationsimport asynciofrom typing import TYPE_CHECKING, Generic-from pydantic import Field-from pydantic.generics import GenericModel+from pydantic import BaseModel, Fieldfrom forge.content_processing.text import summarize_textfrom forge.llm.prompting.utils import format_numbered_list, indent@@ -16,7 +15,7 @@ if TYPE_CHECKING:from forge.llm.providers import MultiProvider-class Episode(GenericModel, Generic[AnyProposal]):+class Episode(BaseModel, Generic[AnyProposal]):action: AnyProposalresult: ActionResult | Nonesummary: str | None = None@@ -52,7 +51,7 @@ class Episode(GenericModel, Generic[AnyProposal]):return executed_action + action_result-class EpisodicActionHistory(GenericModel, Generic[AnyProposal]):+class EpisodicActionHistory(BaseModel, Generic[AnyProposal]):"""Utility container for an action history"""episodes: list[Episode[AnyProposal]] = Field(default_factory=list)diff --git a/forge/forge/components/code_executor/code_executor.py b/forge/forge/components/code_executor/code_executor.pyindex 37bdb1a51d..1414920351 100644--- a/forge/forge/components/code_executor/code_executor.py+++ b/forge/forge/components/code_executor/code_executor.py@@ -83,7 +83,9 @@ class CodeExecutorComponent(# Change container name if it's empty or default to prevent different agents# from using the same container- default_container_name = self.config.__fields__["docker_container_name"].default+ default_container_name = self.config.model_fields[+ "docker_container_name"+ ].defaultif (not self.config.docker_container_nameor self.config.docker_container_name == default_container_namediff --git a/forge/forge/components/file_manager/file_manager.py b/forge/forge/components/file_manager/file_manager.pyindex 8eb674c8f3..be7c584758 100644--- a/forge/forge/components/file_manager/file_manager.py+++ b/forge/forge/components/file_manager/file_manager.py@@ -3,7 +3,7 @@ import osfrom pathlib import Pathfrom typing import Iterator, Optional-from pydantic import BaseModel+from pydantic import BaseModel, ConfigDictfrom forge.agent import BaseAgentSettingsfrom forge.agent.components import ConfigurableComponent@@ -22,10 +22,11 @@ class FileManagerConfiguration(BaseModel):workspace_path: str"""Path to files that agent has access to"""- class Config:+ model_config = ConfigDict(# Prevent mutation of the configuration# as this wouldn't be reflected in the file storage- allow_mutation = False+ frozen=False+ )class FileManagerComponent(@@ -88,7 +89,8 @@ class FileManagerComponent(self._file_storage.make_dir(f"agents/{save_as_id}")# Save stateawait self._file_storage.write_file(- f"agents/{save_as_id}/{self.STATE_FILE}", self.agent_state.json()+ f"agents/{save_as_id}/{self.STATE_FILE}",+ self.agent_state.model_dump_json(),)# Copy workspaceself._file_storage.copy(@@ -97,7 +99,7 @@ class FileManagerComponent()else:await self.storage.write_file(- self.storage.root / self.STATE_FILE, self.agent_state.json()+ self.storage.root / self.STATE_FILE, self.agent_state.model_dump_json())def get_resources(self) -> Iterator[str]:diff --git a/forge/forge/components/git_operations/git_operations.py b/forge/forge/components/git_operations/git_operations.pyindex c6deb62fea..fa326cbdd7 100644--- a/forge/forge/components/git_operations/git_operations.py+++ b/forge/forge/components/git_operations/git_operations.py@@ -14,9 +14,9 @@ from forge.utils.url_validator import validate_urlclass GitOperationsConfiguration(BaseModel):- github_username: Optional[str] = UserConfigurable(from_env="GITHUB_USERNAME")+ github_username: Optional[str] = UserConfigurable(None, from_env="GITHUB_USERNAME")github_api_key: Optional[SecretStr] = UserConfigurable(- from_env="GITHUB_API_KEY", exclude=True+ None, from_env="GITHUB_API_KEY", exclude=True)diff --git a/forge/forge/components/image_gen/image_gen.py b/forge/forge/components/image_gen/image_gen.pyindex d39268acd1..b05ca0635d 100644--- a/forge/forge/components/image_gen/image_gen.py+++ b/forge/forge/components/image_gen/image_gen.py@@ -27,11 +27,11 @@ class ImageGeneratorConfiguration(BaseModel):image_provider: Literal["dalle", "huggingface", "sdwebui"] = "dalle"huggingface_image_model: str = "CompVis/stable-diffusion-v1-4"huggingface_api_token: Optional[SecretStr] = UserConfigurable(- from_env="HUGGINGFACE_API_TOKEN", exclude=True+ None, from_env="HUGGINGFACE_API_TOKEN", exclude=True)sd_webui_url: str = "http://localhost:7860"sd_webui_auth: Optional[SecretStr] = UserConfigurable(- from_env="SD_WEBUI_AUTH", exclude=True+ None, from_env="SD_WEBUI_AUTH", exclude=True)diff --git a/forge/forge/components/web/search.py b/forge/forge/components/web/search.pyindex bbe4aef7df..73d2bc6f28 100644--- a/forge/forge/components/web/search.py+++ b/forge/forge/components/web/search.py@@ -18,10 +18,10 @@ logger = logging.getLogger(__name__)class WebSearchConfiguration(BaseModel):google_api_key: Optional[SecretStr] = UserConfigurable(- from_env="GOOGLE_API_KEY", exclude=True+ None, from_env="GOOGLE_API_KEY", exclude=True)google_custom_search_engine_id: Optional[SecretStr] = UserConfigurable(- from_env="GOOGLE_CUSTOM_SEARCH_ENGINE_ID", exclude=True+ None, from_env="GOOGLE_CUSTOM_SEARCH_ENGINE_ID", exclude=True)duckduckgo_max_attempts: int = 3diff --git a/forge/forge/config/ai_directives.py b/forge/forge/config/ai_directives.pyindex 2b6f0f0eaf..7921f8f291 100644--- a/forge/forge/config/ai_directives.py+++ b/forge/forge/config/ai_directives.py@@ -25,4 +25,4 @@ class AIDirectives(BaseModel):resources=self.resources + other.resources,constraints=self.constraints + other.constraints,best_practices=self.best_practices + other.best_practices,- ).copy(deep=True)+ ).model_copy(deep=True)diff --git a/forge/forge/llm/prompting/schema.py b/forge/forge/llm/prompting/schema.pyindex 0b0008a379..b053806afe 100644--- a/forge/forge/llm/prompting/schema.py+++ b/forge/forge/llm/prompting/schema.py@@ -27,7 +27,7 @@ class ChatPrompt(BaseModel):prefill_response: str = ""def raw(self) -> list[ChatMessageDict]:- return [m.dict() for m in self.messages] # type: ignore+ return [m.model_dump() for m in self.messages] # type: ignoredef __str__(self):return "\n\n".join(diff --git a/forge/forge/llm/providers/_openai_base.py b/forge/forge/llm/providers/_openai_base.pyindex 852876286b..1ad790c513 100644--- a/forge/forge/llm/providers/_openai_base.py+++ b/forge/forge/llm/providers/_openai_base.py@@ -10,6 +10,7 @@ from typing import (Sequence,TypeVar,cast,+ get_args,)import sentry_sdk@@ -67,11 +68,11 @@ class _BaseOpenAIProvider(BaseModelProvider[_ModelName, _ModelProviderSettings])raise ValueError(f"{self.__class__.__name__}.MODELS is not set")if not settings:- settings = self.default_settings.copy(deep=True)+ settings = self.default_settings.model_copy(deep=True)if not settings.credentials:- settings.credentials = self.default_settings.__fields__[- "credentials"- ].type_.from_env()+ settings.credentials = get_args( # Union[Credentials, None] -> Credentials+ self.default_settings.model_fields["credentials"].annotation+ )[0].from_env()super(_BaseOpenAIProvider, self).__init__(settings=settings, logger=logger)@@ -248,7 +249,7 @@ class BaseOpenAIChatProvider(openai_messages.append(cast(ChatCompletionAssistantMessageParam,- _assistant_msg.dict(exclude_none=True),+ _assistant_msg.model_dump(exclude_none=True),))openai_messages.append(@@ -309,7 +310,7 @@ class BaseOpenAIChatProvider(kwargs["extra_headers"].update(extra_headers.copy()) # type: ignoreprepped_messages: list[ChatCompletionMessageParam] = [- message.dict( # type: ignore+ message.model_dump( # type: ignoreinclude={"role", "content", "tool_calls", "tool_call_id", "name"},exclude_none=True,)diff --git a/forge/forge/llm/providers/anthropic.py b/forge/forge/llm/providers/anthropic.pyindex 2f8d21571d..716e183c06 100644--- a/forge/forge/llm/providers/anthropic.py+++ b/forge/forge/llm/providers/anthropic.py@@ -120,7 +120,7 @@ class AnthropicProvider(BaseChatModelProvider[AnthropicModelName, AnthropicSettilogger: Optional[logging.Logger] = None,):if not settings:- settings = self.default_settings.copy(deep=True)+ settings = self.default_settings.model_copy(deep=True)if not settings.credentials:settings.credentials = AnthropicCredentials.from_env()@@ -241,7 +241,7 @@ class AnthropicProvider(BaseChatModelProvider[AnthropicModelName, AnthropicSetti)if attempts < self._configuration.fix_failed_parse_tries:anthropic_messages.append(- _assistant_msg.dict(include={"role", "content"}) # type: ignore+ _assistant_msg.model_dump(include={"role", "content"}) # type: ignore # noqa)anthropic_messages.append({diff --git a/forge/forge/llm/providers/multi.py b/forge/forge/llm/providers/multi.pyindex 93784cd2ea..0606511043 100644--- a/forge/forge/llm/providers/multi.py+++ b/forge/forge/llm/providers/multi.py@@ -1,7 +1,7 @@from __future__ import annotationsimport logging-from typing import Any, Callable, Iterator, Optional, Sequence, TypeVar+from typing import Any, Callable, Iterator, Optional, Sequence, TypeVar, get_argsfrom pydantic import ValidationError@@ -125,14 +125,16 @@ class MultiProvider(BaseChatModelProvider[ModelName, ModelProviderSettings]):_provider = self._provider_instances.get(provider_name)if not _provider:Provider = self._get_provider_class(provider_name)- settings = Provider.default_settings.copy(deep=True)+ settings = Provider.default_settings.model_copy(deep=True)settings.budget = self._budgetsettings.configuration.extra_request_headers.update(self._settings.configuration.extra_request_headers)if settings.credentials is None:try:- Credentials = settings.__fields__["credentials"].type_+ Credentials = get_args( # Union[Credentials, None] -> Credentials+ settings.model_fields["credentials"].annotation+ )[0]settings.credentials = Credentials.from_env()except ValidationError as e:raise ValueError(diff --git a/forge/forge/llm/providers/openai.py b/forge/forge/llm/providers/openai.pyindex 024f1286a8..c3aa060c9d 100644--- a/forge/forge/llm/providers/openai.py+++ b/forge/forge/llm/providers/openai.py@@ -197,7 +197,7 @@ chat_model_mapping = {}for base, copies in chat_model_mapping.items():for copy in copies:- copy_info = OPEN_AI_CHAT_MODELS[base].copy(update={"name": copy})+ copy_info = OPEN_AI_CHAT_MODELS[base].model_copy(update={"name": copy})OPEN_AI_CHAT_MODELS[copy] = copy_infoif copy.endswith(("-0301", "-0314")):copy_info.has_function_call_api = False@@ -219,15 +219,19 @@ class OpenAICredentials(ModelProviderCredentials):api_base: Optional[SecretStr] = UserConfigurable(default=None, from_env="OPENAI_API_BASE_URL")- organization: Optional[SecretStr] = UserConfigurable(from_env="OPENAI_ORGANIZATION")+ organization: Optional[SecretStr] = UserConfigurable(+ default=None, from_env="OPENAI_ORGANIZATION"+ )api_type: Optional[SecretStr] = UserConfigurable(default=None,from_env=lambda: cast(SecretStr | None,- "azure"- if os.getenv("USE_AZURE") == "True"- else os.getenv("OPENAI_API_TYPE"),+ (+ "azure"+ if os.getenv("USE_AZURE") == "True"+ else os.getenv("OPENAI_API_TYPE")+ ),),)api_version: Optional[SecretStr] = UserConfigurable(@@ -367,7 +371,7 @@ class OpenAIProvider(num_tokens = 0for message in messages:num_tokens += tokens_per_message- for key, value in message.dict().items():+ for key, value in message.model_dump().items():num_tokens += len(tokenizer.encode(value))if key == "name":num_tokens += tokens_per_name@@ -625,4 +629,4 @@ def _tool_calls_compat_extract_calls(response: str) -> Iterator[AssistantToolCalfor t in tool_calls:t["id"] = str(uuid.uuid4())- yield AssistantToolCall.parse_obj(t)+ yield AssistantToolCall.model_validate(t)diff --git a/forge/forge/llm/providers/schema.py b/forge/forge/llm/providers/schema.pyindex 11b522e779..f804442b9e 100644--- a/forge/forge/llm/providers/schema.py+++ b/forge/forge/llm/providers/schema.py@@ -17,7 +17,7 @@ from typing import (TypeVar,)-from pydantic import BaseModel, Field, SecretStr+from pydantic import BaseModel, ConfigDict, Field, SecretStrfrom forge.logging.utils import fmt_kwargsfrom forge.models.config import (@@ -204,8 +204,7 @@ class ModelProviderCredentials(ProviderCredentials):api_version: SecretStr | None = UserConfigurable(default=None)deployment_id: SecretStr | None = UserConfigurable(default=None)- class Config(ProviderCredentials.Config):- extra = "ignore"+ model_config = ConfigDict(extra="ignore")class ModelProviderUsage(BaseModel):@@ -289,7 +288,7 @@ class BaseModelProvider(logger: Optional[logging.Logger] = None,):if not settings:- settings = self.default_settings.copy(deep=True)+ settings = self.default_settings.model_copy(deep=True)self._settings = settingsself._configuration = settings.configuration@@ -356,7 +355,7 @@ class EmbeddingModelResponse(ModelResponse):"""Standard response struct for a response from an embedding model."""embedding: Embedding = Field(default_factory=list)- completion_tokens_used: int = Field(default=0, const=True)+ completion_tokens_used: int = Field(default=0, frozen=True)class BaseEmbeddingModelProvider(BaseModelProvider[_ModelName, _ModelProviderSettings]):diff --git a/forge/forge/models/action.py b/forge/forge/models/action.pyindex 61d23b1f9f..a87f9bb6e3 100644--- a/forge/forge/models/action.py+++ b/forge/forge/models/action.py@@ -3,7 +3,11 @@ from __future__ import annotationsfrom typing import Any, Literal, Optional, TypeVarfrom pydantic import BaseModel-from pydantic.schema import default_ref_template+from pydantic.json_schema import (+ DEFAULT_REF_TEMPLATE,+ GenerateJsonSchema,+ JsonSchemaMode,+)from forge.llm.providers.schema import AssistantChatMessage, AssistantFunctionCall@@ -20,13 +24,24 @@ class ActionProposal(BaseModel):"""@classmethod- def schema(- cls, by_alias: bool = True, ref_template: str = default_ref_template, **kwargs+ def model_json_schema(+ cls,+ by_alias: bool = True,+ ref_template: str = DEFAULT_REF_TEMPLATE,+ schema_generator: type[GenerateJsonSchema] = GenerateJsonSchema,+ mode: JsonSchemaMode = "validation",+ **kwargs,):"""The schema for this ActionProposal model, excluding the 'raw_message' property."""- schema = super().schema(by_alias=by_alias, ref_template=ref_template, **kwargs)+ schema = super().model_json_schema(+ by_alias=by_alias,+ ref_template=ref_template,+ schema_generator=schema_generator,+ mode=mode,+ **kwargs,+ )if "raw_message" in schema["properties"]: # must check because schema is cacheddel schema["properties"]["raw_message"]return schemadiff --git a/forge/forge/models/config.py b/forge/forge/models/config.pyindex 321e9c96d8..9f8fb0ac7f 100644--- a/forge/forge/models/config.py+++ b/forge/forge/models/config.py@@ -2,16 +2,19 @@ import osimport typingfrom typing import Any, Callable, Generic, Optional, Type, TypeVar, get_args-from pydantic import BaseModel, Field, ValidationError-from pydantic.fields import ModelField, Undefined, UndefinedType-from pydantic.main import ModelMetaclass+from pydantic import BaseModel, ConfigDict, Field, ValidationError+from pydantic._internal._model_construction import ( # HACK shouldn't be used+ ModelMetaclass,+)+from pydantic.fields import FieldInfo+from pydantic_core import PydanticUndefined, PydanticUndefinedTypeT = TypeVar("T")M = TypeVar("M", bound=BaseModel)def UserConfigurable(- default: T | UndefinedType = Undefined,+ default: T | PydanticUndefinedType = PydanticUndefined,*args,default_factory: Optional[Callable[[], T]] = None,from_env: Optional[str | Callable[[], T | None]] = None,@@ -20,16 +23,27 @@ def UserConfigurable(**kwargs,) -> T:# TODO: use this to auto-generate docs for the application configuration- return Field(+ field_info: FieldInfo = Field(default,*args,default_factory=default_factory,- from_env=from_env,description=description,exclude=exclude,**kwargs,- user_configurable=True,)+ field_info.metadata.append(("user_configurable", True))+ field_info.metadata.append(("from_env", from_env))++ return field_info # type: ignore+++def _get_field_metadata(field: FieldInfo, key: str, default: Any = None) -> Any:+ for item in field.metadata:+ if isinstance(item, tuple) and item[0] == key:+ return item[1]+ if isinstance(item, str) and item == key:+ return True+ return defaultclass SystemConfiguration(BaseModel):@@ -45,14 +59,17 @@ class SystemConfiguration(BaseModel):attribute that can be passed to UserConfigurable."""- def infer_field_value(field: ModelField):- field_info = field.field_info+ def infer_field_value(field: FieldInfo):default_value = (field.default- if field.default not in (None, Undefined)- else (field.default_factory() if field.default_factory else Undefined)+ if field.default not in (None, PydanticUndefined)+ else (+ field.default_factory()+ if field.default_factory+ else PydanticUndefined+ ))- if from_env := field_info.extra.get("from_env"):+ if from_env := _get_field_metadata(field, "from_env"):val_from_env = (os.getenv(from_env) if type(from_env) is str else from_env())@@ -62,10 +79,9 @@ class SystemConfiguration(BaseModel):return _recursive_init_model(cls, infer_field_value)- class Config:- extra = "forbid"- use_enum_values = True- validate_assignment = True+ model_config = ConfigDict(+ extra="forbid", use_enum_values=True, validate_assignment=True+ )SC = TypeVar("SC", bound=SystemConfiguration)@@ -77,10 +93,9 @@ class SystemSettings(BaseModel):name: strdescription: str- class Config:- extra = "forbid"- use_enum_values = True- validate_assignment = True+ model_config = ConfigDict(+ extra="forbid", use_enum_values=True, validate_assignment=True+ )S = TypeVar("S", bound=SystemSettings)@@ -103,7 +118,7 @@ class Configurable(Generic[S]):base_config = _update_user_config_from_env(cls.default_settings)final_configuration = deep_update(base_config, overrides)- return cls.default_settings.__class__.parse_obj(final_configuration)+ return cls.default_settings.__class__.model_validate(final_configuration)def _update_user_config_from_env(instance: BaseModel) -> dict[str, Any]:@@ -122,14 +137,15 @@ def _update_user_config_from_env(instance: BaseModel) -> dict[str, Any]:The user config fields of the instance."""- def infer_field_value(field: ModelField, value):- field_info = field.field_info+ def infer_field_value(field: FieldInfo, value):default_value = (field.default- if field.default not in (None, Undefined)+ if field.default not in (None, PydanticUndefined)else (field.default_factory() if field.default_factory else None))- if value == default_value and (from_env := field_info.extra.get("from_env")):+ if value == default_value and (+ from_env := _get_field_metadata(field, "from_env")+ ):val_from_env = os.getenv(from_env) if type(from_env) is str else from_env()if val_from_env is not None:return val_from_env@@ -137,10 +153,10 @@ def _update_user_config_from_env(instance: BaseModel) -> dict[str, Any]:def init_sub_config(model: Type[SC]) -> SC | None:try:- return model.from_env()+ return model.model_validate(model.from_env(), strict=True)except ValidationError as e:# Gracefully handle missing fields- if all(e["type"] == "value_error.missing" for e in e.errors()):+ if all(e["type"] == "missing" for e in e.errors()):return Noneraise@@ -149,7 +165,7 @@ def _update_user_config_from_env(instance: BaseModel) -> dict[str, Any]:def _recursive_init_model(model: Type[M],- infer_field_value: Callable[[ModelField], Any],+ infer_field_value: Callable[[FieldInfo], Any],) -> M:"""Recursively initialize the user configuration fields of a Pydantic model.@@ -164,31 +180,31 @@ def _recursive_init_model(BaseModel: An instance of the model with the initialized configuration."""user_config_fields = {}- for name, field in model.__fields__.items():- if "user_configurable" in field.field_info.extra:+ for name, field in model.model_fields.items():+ if _get_field_metadata(field, "user_configurable"):user_config_fields[name] = infer_field_value(field)- elif type(field.outer_type_) is ModelMetaclass and issubclass(- field.outer_type_, SystemConfiguration+ elif isinstance(field.annotation, ModelMetaclass) and issubclass(+ field.annotation, SystemConfiguration):try:user_config_fields[name] = _recursive_init_model(- model=field.outer_type_,+ model=field.annotation,infer_field_value=infer_field_value,)except ValidationError as e:# Gracefully handle missing fields- if all(e["type"] == "value_error.missing" for e in e.errors()):+ if all(e["type"] == "missing" for e in e.errors()):user_config_fields[name] = Noneraiseuser_config_fields = remove_none_items(user_config_fields)- return model.parse_obj(user_config_fields)+ return model.model_validate(user_config_fields)def _recurse_user_config_fields(model: BaseModel,- infer_field_value: Callable[[ModelField, Any], Any],+ infer_field_value: Callable[[FieldInfo, Any], Any],init_sub_config: Optional[Callable[[Type[SystemConfiguration]], SystemConfiguration | None]] = None,@@ -211,11 +227,11 @@ def _recurse_user_config_fields("""user_config_fields = {}- for name, field in model.__fields__.items():+ for name, field in model.model_fields.items():value = getattr(model, name)# Handle individual field- if "user_configurable" in field.field_info.extra:+ if _get_field_metadata(field, "user_configurable"):user_config_fields[name] = infer_field_value(field, value)# Recurse into nested config object@@ -260,7 +276,7 @@ def _recurse_user_config_fields(def _recurse_user_config_values(instance: BaseModel,- get_field_value: Callable[[ModelField, T], T] = lambda _, v: v,+ get_field_value: Callable[[FieldInfo, T], T] = lambda _, v: v,) -> dict[str, Any]:"""This function recursively traverses the user configuration values in a Pydantic@@ -278,8 +294,8 @@ def _recurse_user_config_values(user_config_values = {}for name, value in instance.__dict__.items():- field = instance.__fields__[name]- if "user_configurable" in field.field_info.extra:+ field = instance.model_fields[name]+ if _get_field_metadata(field, "user_configurable"):user_config_values[name] = get_field_value(field, value)elif isinstance(value, SystemConfiguration):user_config_values[name] = _recurse_user_config_values(@@ -313,7 +329,7 @@ def _get_non_default_user_config_values(instance: BaseModel) -> dict[str, Any]:dict[str, Any]: The non-default user config values on the instance."""- def get_field_value(field: ModelField, value):+ def get_field_value(field: FieldInfo, value):default = field.default_factory() if field.default_factory else field.defaultif value != default:return value@@ -347,6 +363,8 @@ def deep_update(original_dict: dict, update_dict: dict) -> dict:def remove_none_items(d):if isinstance(d, dict):return {- k: remove_none_items(v) for k, v in d.items() if v not in (None, Undefined)+ k: remove_none_items(v)+ for k, v in d.items()+ if v not in (None, PydanticUndefined)}return ddiff --git a/forge/forge/models/json_schema.py b/forge/forge/models/json_schema.pyindex 4ef641eb7a..44033f4ba0 100644--- a/forge/forge/models/json_schema.py+++ b/forge/forge/models/json_schema.py@@ -57,7 +57,7 @@ class JSONSchema(BaseModel):@staticmethoddef from_dict(schema: dict) -> "JSONSchema":- definitions = schema.get("definitions", {})+ definitions = schema.get("$defs", {})schema = _resolve_type_refs_in_schema(schema, definitions)return JSONSchema(diff --git a/forge/forge/models/providers.py b/forge/forge/models/providers.pyindex 19536e2acd..35d9fe7bb0 100644--- a/forge/forge/models/providers.py+++ b/forge/forge/models/providers.py@@ -1,9 +1,9 @@import abcimport enumimport math-from typing import Callable, Generic, TypeVar+from typing import Generic, TypeVar-from pydantic import BaseModel, SecretBytes, SecretField, SecretStr+from pydantic import BaseModel, ConfigDict, Secret, SecretBytes, SecretStrfrom forge.models.config import SystemConfiguration, UserConfigurable@@ -38,17 +38,18 @@ class ProviderCredentials(SystemConfiguration):def unmasked(self) -> dict:return unmask(self)- class Config(SystemConfiguration.Config):- json_encoders: dict[type[SecretField], Callable[[SecretField], str | None]] = {+ model_config = ConfigDict(+ json_encoders={SecretStr: lambda v: v.get_secret_value() if v else None,SecretBytes: lambda v: v.get_secret_value() if v else None,- SecretField: lambda v: v.get_secret_value() if v else None,+ Secret: lambda v: v.get_secret_value() if v else None,}+ )def unmask(model: BaseModel):unmasked_fields = {}- for field_name, _ in model.__fields__.items():+ for field_name, _ in model.model_fields.items():value = getattr(model, field_name)if isinstance(value, SecretStr):unmasked_fields[field_name] = value.get_secret_value()diff --git a/forge/poetry.lock b/forge/poetry.lockindex 15e11105e9..b4b063dd76 100644--- a/forge/poetry.lock+++ b/forge/poetry.lock@@ -10,7 +10,7 @@ files = []develop = false[package.dependencies]-agent-protocol-client = "^1.1.0"+agent-protocol-client = {git = "https://github.com/Significant-Gravitas/agent-protocol.git", subdirectory = "packages/client/python"}click = "^8.1.3"click-default-group = "^1.2.4"colorama = "^0.4.6"@@ -18,12 +18,14 @@ fastapi = "^0.109.1"gitpython = "^3.1.32"httpx = "^0.24.0"matplotlib = "^3.7.2"+multidict = "^6.0.5"networkx = "^3.1"openai = "^1.7.2"pandas = "^2.0.3"pexpect = "^4.8.0"psutil = "^5.9.5"-pydantic = "^1.10.9"+pydantic = "^2.7.2"+pydantic-settings = "^2.3.4"pytest = "^7.3.2"pytest-asyncio = "^0.23.3"python-dotenv = "^1.0.0"@@ -44,17 +46,22 @@ name = "agent-protocol-client"version = "1.1.0"description = "Agent Communication Protocol Client"optional = true-python-versions = ">=3.7,<4.0"-files = [- {file = "agent_protocol_client-1.1.0-py3-none-any.whl", hash = "sha256:0e8c6c97244189666ed18e320410abddce8c9dfb75437da1e590bbef3b6268be"},- {file = "agent_protocol_client-1.1.0.tar.gz", hash = "sha256:aa7e1042de1249477fdc29c2df08a44f2233dade9c02c1279e37c98e9d3a0d72"},-]+python-versions = "^3.7"+files = []+develop = false[package.dependencies]-aiohttp = ">=3.8.4,<4.0.0"-pydantic = ">=1.10.5,<2.0.0"-python-dateutil = ">=2.8.2,<3.0.0"-urllib3 = ">=1.25.3,<2.0.0"+aiohttp = "^3.8.4"+pydantic = ">=1.10.5, <3.0.0"+python-dateutil = "^2.8.2"+urllib3 = "^1.25.3"++[package.source]+type = "git"+url = "https://github.com/Significant-Gravitas/agent-protocol.git"+reference = "HEAD"+resolved_reference = "beb098517b0b9e255024d1b57df236f0329f4b1c"+subdirectory = "packages/client/python"[[package]]name = "aiohttp"@@ -166,6 +173,17 @@ files = [[package.dependencies]frozenlist = ">=1.1.0"+[[package]]+name = "annotated-types"+version = "0.7.0"+description = "Reusable constraint types to use with typing.Annotated"+optional = false+python-versions = ">=3.8"+files = [+ {file = "annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53"},+ {file = "annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"},+]+[[package]]name = "anthropic"version = "0.25.8"@@ -3475,85 +3493,101 @@ tests = ["pytest (>=4.6)"][[package]]name = "multidict"-version = "6.0.4"+version = "6.0.5"description = "multidict implementation"optional = falsepython-versions = ">=3.7"files = [- {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:0b1a97283e0c85772d613878028fec909f003993e1007eafa715b24b377cb9b8"},- {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:eeb6dcc05e911516ae3d1f207d4b0520d07f54484c49dfc294d6e7d63b734171"},- {file = "multidict-6.0.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d6d635d5209b82a3492508cf5b365f3446afb65ae7ebd755e70e18f287b0adf7"},- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c048099e4c9e9d615545e2001d3d8a4380bd403e1a0578734e0d31703d1b0c0b"},- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ea20853c6dbbb53ed34cb4d080382169b6f4554d394015f1bef35e881bf83547"},- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:16d232d4e5396c2efbbf4f6d4df89bfa905eb0d4dc5b3549d872ab898451f569"},- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:36c63aaa167f6c6b04ef2c85704e93af16c11d20de1d133e39de6a0e84582a93"},- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:64bdf1086b6043bf519869678f5f2757f473dee970d7abf6da91ec00acb9cb98"},- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:43644e38f42e3af682690876cff722d301ac585c5b9e1eacc013b7a3f7b696a0"},- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:7582a1d1030e15422262de9f58711774e02fa80df0d1578995c76214f6954988"},- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:ddff9c4e225a63a5afab9dd15590432c22e8057e1a9a13d28ed128ecf047bbdc"},- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:ee2a1ece51b9b9e7752e742cfb661d2a29e7bcdba2d27e66e28a99f1890e4fa0"},- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a2e4369eb3d47d2034032a26c7a80fcb21a2cb22e1173d761a162f11e562caa5"},- {file = "multidict-6.0.4-cp310-cp310-win32.whl", hash = "sha256:574b7eae1ab267e5f8285f0fe881f17efe4b98c39a40858247720935b893bba8"},- {file = "multidict-6.0.4-cp310-cp310-win_amd64.whl", hash = "sha256:4dcbb0906e38440fa3e325df2359ac6cb043df8e58c965bb45f4e406ecb162cc"},- {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0dfad7a5a1e39c53ed00d2dd0c2e36aed4650936dc18fd9a1826a5ae1cad6f03"},- {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:64da238a09d6039e3bd39bb3aee9c21a5e34f28bfa5aa22518581f910ff94af3"},- {file = "multidict-6.0.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ff959bee35038c4624250473988b24f846cbeb2c6639de3602c073f10410ceba"},- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:01a3a55bd90018c9c080fbb0b9f4891db37d148a0a18722b42f94694f8b6d4c9"},- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c5cb09abb18c1ea940fb99360ea0396f34d46566f157122c92dfa069d3e0e982"},- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:666daae833559deb2d609afa4490b85830ab0dfca811a98b70a205621a6109fe"},- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:11bdf3f5e1518b24530b8241529d2050014c884cf18b6fc69c0c2b30ca248710"},- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7d18748f2d30f94f498e852c67d61261c643b349b9d2a581131725595c45ec6c"},- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:458f37be2d9e4c95e2d8866a851663cbc76e865b78395090786f6cd9b3bbf4f4"},- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:b1a2eeedcead3a41694130495593a559a668f382eee0727352b9a41e1c45759a"},- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7d6ae9d593ef8641544d6263c7fa6408cc90370c8cb2bbb65f8d43e5b0351d9c"},- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:5979b5632c3e3534e42ca6ff856bb24b2e3071b37861c2c727ce220d80eee9ed"},- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:dcfe792765fab89c365123c81046ad4103fcabbc4f56d1c1997e6715e8015461"},- {file = "multidict-6.0.4-cp311-cp311-win32.whl", hash = "sha256:3601a3cece3819534b11d4efc1eb76047488fddd0c85a3948099d5da4d504636"},- {file = "multidict-6.0.4-cp311-cp311-win_amd64.whl", hash = "sha256:81a4f0b34bd92df3da93315c6a59034df95866014ac08535fc819f043bfd51f0"},- {file = "multidict-6.0.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:67040058f37a2a51ed8ea8f6b0e6ee5bd78ca67f169ce6122f3e2ec80dfe9b78"},- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:853888594621e6604c978ce2a0444a1e6e70c8d253ab65ba11657659dcc9100f"},- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:39ff62e7d0f26c248b15e364517a72932a611a9b75f35b45be078d81bdb86603"},- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:af048912e045a2dc732847d33821a9d84ba553f5c5f028adbd364dd4765092ac"},- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1e8b901e607795ec06c9e42530788c45ac21ef3aaa11dbd0c69de543bfb79a9"},- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:62501642008a8b9871ddfccbf83e4222cf8ac0d5aeedf73da36153ef2ec222d2"},- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:99b76c052e9f1bc0721f7541e5e8c05db3941eb9ebe7b8553c625ef88d6eefde"},- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:509eac6cf09c794aa27bcacfd4d62c885cce62bef7b2c3e8b2e49d365b5003fe"},- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:21a12c4eb6ddc9952c415f24eef97e3e55ba3af61f67c7bc388dcdec1404a067"},- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:5cad9430ab3e2e4fa4a2ef4450f548768400a2ac635841bc2a56a2052cdbeb87"},- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ab55edc2e84460694295f401215f4a58597f8f7c9466faec545093045476327d"},- {file = "multidict-6.0.4-cp37-cp37m-win32.whl", hash = "sha256:5a4dcf02b908c3b8b17a45fb0f15b695bf117a67b76b7ad18b73cf8e92608775"},- {file = "multidict-6.0.4-cp37-cp37m-win_amd64.whl", hash = "sha256:6ed5f161328b7df384d71b07317f4d8656434e34591f20552c7bcef27b0ab88e"},- {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5fc1b16f586f049820c5c5b17bb4ee7583092fa0d1c4e28b5239181ff9532e0c"},- {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1502e24330eb681bdaa3eb70d6358e818e8e8f908a22a1851dfd4e15bc2f8161"},- {file = "multidict-6.0.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b692f419760c0e65d060959df05f2a531945af31fda0c8a3b3195d4efd06de11"},- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:45e1ecb0379bfaab5eef059f50115b54571acfbe422a14f668fc8c27ba410e7e"},- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ddd3915998d93fbcd2566ddf9cf62cdb35c9e093075f862935573d265cf8f65d"},- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:59d43b61c59d82f2effb39a93c48b845efe23a3852d201ed2d24ba830d0b4cf2"},- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cc8e1d0c705233c5dd0c5e6460fbad7827d5d36f310a0fadfd45cc3029762258"},- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d6aa0418fcc838522256761b3415822626f866758ee0bc6632c9486b179d0b52"},- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6748717bb10339c4760c1e63da040f5f29f5ed6e59d76daee30305894069a660"},- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4d1a3d7ef5e96b1c9e92f973e43aa5e5b96c659c9bc3124acbbd81b0b9c8a951"},- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4372381634485bec7e46718edc71528024fcdc6f835baefe517b34a33c731d60"},- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:fc35cb4676846ef752816d5be2193a1e8367b4c1397b74a565a9d0389c433a1d"},- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:4b9d9e4e2b37daddb5c23ea33a3417901fa7c7b3dee2d855f63ee67a0b21e5b1"},- {file = "multidict-6.0.4-cp38-cp38-win32.whl", hash = "sha256:e41b7e2b59679edfa309e8db64fdf22399eec4b0b24694e1b2104fb789207779"},- {file = "multidict-6.0.4-cp38-cp38-win_amd64.whl", hash = "sha256:d6c254ba6e45d8e72739281ebc46ea5eb5f101234f3ce171f0e9f5cc86991480"},- {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:16ab77bbeb596e14212e7bab8429f24c1579234a3a462105cda4a66904998664"},- {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bc779e9e6f7fda81b3f9aa58e3a6091d49ad528b11ed19f6621408806204ad35"},- {file = "multidict-6.0.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4ceef517eca3e03c1cceb22030a3e39cb399ac86bff4e426d4fc6ae49052cc60"},- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:281af09f488903fde97923c7744bb001a9b23b039a909460d0f14edc7bf59706"},- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:52f2dffc8acaba9a2f27174c41c9e57f60b907bb9f096b36b1a1f3be71c6284d"},- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b41156839806aecb3641f3208c0dafd3ac7775b9c4c422d82ee2a45c34ba81ca"},- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d5e3fc56f88cc98ef8139255cf8cd63eb2c586531e43310ff859d6bb3a6b51f1"},- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8316a77808c501004802f9beebde51c9f857054a0c871bd6da8280e718444449"},- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:f70b98cd94886b49d91170ef23ec5c0e8ebb6f242d734ed7ed677b24d50c82cf"},- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bf6774e60d67a9efe02b3616fee22441d86fab4c6d335f9d2051d19d90a40063"},- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:e69924bfcdda39b722ef4d9aa762b2dd38e4632b3641b1d9a57ca9cd18f2f83a"},- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:6b181d8c23da913d4ff585afd1155a0e1194c0b50c54fcfe286f70cdaf2b7176"},- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:52509b5be062d9eafc8170e53026fbc54cf3b32759a23d07fd935fb04fc22d95"},- {file = "multidict-6.0.4-cp39-cp39-win32.whl", hash = "sha256:27c523fbfbdfd19c6867af7346332b62b586eed663887392cff78d614f9ec313"},- {file = "multidict-6.0.4-cp39-cp39-win_amd64.whl", hash = "sha256:33029f5734336aa0d4c0384525da0387ef89148dc7191aae00ca5fb23d7aafc2"},- {file = "multidict-6.0.4.tar.gz", hash = "sha256:3666906492efb76453c0e7b97f2cf459b0682e7402c0489a95484965dbc1da49"},+ {file = "multidict-6.0.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:228b644ae063c10e7f324ab1ab6b548bdf6f8b47f3ec234fef1093bc2735e5f9"},+ {file = "multidict-6.0.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:896ebdcf62683551312c30e20614305f53125750803b614e9e6ce74a96232604"},+ {file = "multidict-6.0.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:411bf8515f3be9813d06004cac41ccf7d1cd46dfe233705933dd163b60e37600"},+ {file = "multidict-6.0.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d147090048129ce3c453f0292e7697d333db95e52616b3793922945804a433c"},+ {file = "multidict-6.0.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:215ed703caf15f578dca76ee6f6b21b7603791ae090fbf1ef9d865571039ade5"},+ {file = "multidict-6.0.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7c6390cf87ff6234643428991b7359b5f59cc15155695deb4eda5c777d2b880f"},+ {file = "multidict-6.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:21fd81c4ebdb4f214161be351eb5bcf385426bf023041da2fd9e60681f3cebae"},+ {file = "multidict-6.0.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3cc2ad10255f903656017363cd59436f2111443a76f996584d1077e43ee51182"},+ {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6939c95381e003f54cd4c5516740faba40cf5ad3eeff460c3ad1d3e0ea2549bf"},+ {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:220dd781e3f7af2c2c1053da9fa96d9cf3072ca58f057f4c5adaaa1cab8fc442"},+ {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:766c8f7511df26d9f11cd3a8be623e59cca73d44643abab3f8c8c07620524e4a"},+ {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:fe5d7785250541f7f5019ab9cba2c71169dc7d74d0f45253f8313f436458a4ef"},+ {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c1c1496e73051918fcd4f58ff2e0f2f3066d1c76a0c6aeffd9b45d53243702cc"},+ {file = "multidict-6.0.5-cp310-cp310-win32.whl", hash = "sha256:7afcdd1fc07befad18ec4523a782cde4e93e0a2bf71239894b8d61ee578c1319"},+ {file = "multidict-6.0.5-cp310-cp310-win_amd64.whl", hash = "sha256:99f60d34c048c5c2fabc766108c103612344c46e35d4ed9ae0673d33c8fb26e8"},+ {file = "multidict-6.0.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:f285e862d2f153a70586579c15c44656f888806ed0e5b56b64489afe4a2dbfba"},+ {file = "multidict-6.0.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:53689bb4e102200a4fafa9de9c7c3c212ab40a7ab2c8e474491914d2305f187e"},+ {file = "multidict-6.0.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:612d1156111ae11d14afaf3a0669ebf6c170dbb735e510a7438ffe2369a847fd"},+ {file = "multidict-6.0.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7be7047bd08accdb7487737631d25735c9a04327911de89ff1b26b81745bd4e3"},+ {file = "multidict-6.0.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:de170c7b4fe6859beb8926e84f7d7d6c693dfe8e27372ce3b76f01c46e489fcf"},+ {file = "multidict-6.0.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:04bde7a7b3de05732a4eb39c94574db1ec99abb56162d6c520ad26f83267de29"},+ {file = "multidict-6.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:85f67aed7bb647f93e7520633d8f51d3cbc6ab96957c71272b286b2f30dc70ed"},+ {file = "multidict-6.0.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:425bf820055005bfc8aa9a0b99ccb52cc2f4070153e34b701acc98d201693733"},+ {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d3eb1ceec286eba8220c26f3b0096cf189aea7057b6e7b7a2e60ed36b373b77f"},+ {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:7901c05ead4b3fb75113fb1dd33eb1253c6d3ee37ce93305acd9d38e0b5f21a4"},+ {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:e0e79d91e71b9867c73323a3444724d496c037e578a0e1755ae159ba14f4f3d1"},+ {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:29bfeb0dff5cb5fdab2023a7a9947b3b4af63e9c47cae2a10ad58394b517fddc"},+ {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e030047e85cbcedbfc073f71836d62dd5dadfbe7531cae27789ff66bc551bd5e"},+ {file = "multidict-6.0.5-cp311-cp311-win32.whl", hash = "sha256:2f4848aa3baa109e6ab81fe2006c77ed4d3cd1e0ac2c1fbddb7b1277c168788c"},+ {file = "multidict-6.0.5-cp311-cp311-win_amd64.whl", hash = "sha256:2faa5ae9376faba05f630d7e5e6be05be22913782b927b19d12b8145968a85ea"},+ {file = "multidict-6.0.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:51d035609b86722963404f711db441cf7134f1889107fb171a970c9701f92e1e"},+ {file = "multidict-6.0.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:cbebcd5bcaf1eaf302617c114aa67569dd3f090dd0ce8ba9e35e9985b41ac35b"},+ {file = "multidict-6.0.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2ffc42c922dbfddb4a4c3b438eb056828719f07608af27d163191cb3e3aa6cc5"},+ {file = "multidict-6.0.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ceb3b7e6a0135e092de86110c5a74e46bda4bd4fbfeeb3a3bcec79c0f861e450"},+ {file = "multidict-6.0.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:79660376075cfd4b2c80f295528aa6beb2058fd289f4c9252f986751a4cd0496"},+ {file = "multidict-6.0.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e4428b29611e989719874670fd152b6625500ad6c686d464e99f5aaeeaca175a"},+ {file = "multidict-6.0.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d84a5c3a5f7ce6db1f999fb9438f686bc2e09d38143f2d93d8406ed2dd6b9226"},+ {file = "multidict-6.0.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:76c0de87358b192de7ea9649beb392f107dcad9ad27276324c24c91774ca5271"},+ {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:79a6d2ba910adb2cbafc95dad936f8b9386e77c84c35bc0add315b856d7c3abb"},+ {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:92d16a3e275e38293623ebf639c471d3e03bb20b8ebb845237e0d3664914caef"},+ {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:fb616be3538599e797a2017cccca78e354c767165e8858ab5116813146041a24"},+ {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:14c2976aa9038c2629efa2c148022ed5eb4cb939e15ec7aace7ca932f48f9ba6"},+ {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:435a0984199d81ca178b9ae2c26ec3d49692d20ee29bc4c11a2a8d4514c67eda"},+ {file = "multidict-6.0.5-cp312-cp312-win32.whl", hash = "sha256:9fe7b0653ba3d9d65cbe7698cca585bf0f8c83dbbcc710db9c90f478e175f2d5"},+ {file = "multidict-6.0.5-cp312-cp312-win_amd64.whl", hash = "sha256:01265f5e40f5a17f8241d52656ed27192be03bfa8764d88e8220141d1e4b3556"},+ {file = "multidict-6.0.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:19fe01cea168585ba0f678cad6f58133db2aa14eccaf22f88e4a6dccadfad8b3"},+ {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6bf7a982604375a8d49b6cc1b781c1747f243d91b81035a9b43a2126c04766f5"},+ {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:107c0cdefe028703fb5dafe640a409cb146d44a6ae201e55b35a4af8e95457dd"},+ {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:403c0911cd5d5791605808b942c88a8155c2592e05332d2bf78f18697a5fa15e"},+ {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aeaf541ddbad8311a87dd695ed9642401131ea39ad7bc8cf3ef3967fd093b626"},+ {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e4972624066095e52b569e02b5ca97dbd7a7ddd4294bf4e7247d52635630dd83"},+ {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:d946b0a9eb8aaa590df1fe082cee553ceab173e6cb5b03239716338629c50c7a"},+ {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:b55358304d7a73d7bdf5de62494aaf70bd33015831ffd98bc498b433dfe5b10c"},+ {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:a3145cb08d8625b2d3fee1b2d596a8766352979c9bffe5d7833e0503d0f0b5e5"},+ {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:d65f25da8e248202bd47445cec78e0025c0fe7582b23ec69c3b27a640dd7a8e3"},+ {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:c9bf56195c6bbd293340ea82eafd0071cb3d450c703d2c93afb89f93b8386ccc"},+ {file = "multidict-6.0.5-cp37-cp37m-win32.whl", hash = "sha256:69db76c09796b313331bb7048229e3bee7928eb62bab5e071e9f7fcc4879caee"},+ {file = "multidict-6.0.5-cp37-cp37m-win_amd64.whl", hash = "sha256:fce28b3c8a81b6b36dfac9feb1de115bab619b3c13905b419ec71d03a3fc1423"},+ {file = "multidict-6.0.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:76f067f5121dcecf0d63a67f29080b26c43c71a98b10c701b0677e4a065fbd54"},+ {file = "multidict-6.0.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b82cc8ace10ab5bd93235dfaab2021c70637005e1ac787031f4d1da63d493c1d"},+ {file = "multidict-6.0.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:5cb241881eefd96b46f89b1a056187ea8e9ba14ab88ba632e68d7a2ecb7aadf7"},+ {file = "multidict-6.0.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e8e94e6912639a02ce173341ff62cc1201232ab86b8a8fcc05572741a5dc7d93"},+ {file = "multidict-6.0.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:09a892e4a9fb47331da06948690ae38eaa2426de97b4ccbfafbdcbe5c8f37ff8"},+ {file = "multidict-6.0.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:55205d03e8a598cfc688c71ca8ea5f66447164efff8869517f175ea632c7cb7b"},+ {file = "multidict-6.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:37b15024f864916b4951adb95d3a80c9431299080341ab9544ed148091b53f50"},+ {file = "multidict-6.0.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f2a1dee728b52b33eebff5072817176c172050d44d67befd681609b4746e1c2e"},+ {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:edd08e6f2f1a390bf137080507e44ccc086353c8e98c657e666c017718561b89"},+ {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:60d698e8179a42ec85172d12f50b1668254628425a6bd611aba022257cac1386"},+ {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:3d25f19500588cbc47dc19081d78131c32637c25804df8414463ec908631e453"},+ {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:4cc0ef8b962ac7a5e62b9e826bd0cd5040e7d401bc45a6835910ed699037a461"},+ {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:eca2e9d0cc5a889850e9bbd68e98314ada174ff6ccd1129500103df7a94a7a44"},+ {file = "multidict-6.0.5-cp38-cp38-win32.whl", hash = "sha256:4a6a4f196f08c58c59e0b8ef8ec441d12aee4125a7d4f4fef000ccb22f8d7241"},+ {file = "multidict-6.0.5-cp38-cp38-win_amd64.whl", hash = "sha256:0275e35209c27a3f7951e1ce7aaf93ce0d163b28948444bec61dd7badc6d3f8c"},+ {file = "multidict-6.0.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:e7be68734bd8c9a513f2b0cfd508802d6609da068f40dc57d4e3494cefc92929"},+ {file = "multidict-6.0.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1d9ea7a7e779d7a3561aade7d596649fbecfa5c08a7674b11b423783217933f9"},+ {file = "multidict-6.0.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ea1456df2a27c73ce51120fa2f519f1bea2f4a03a917f4a43c8707cf4cbbae1a"},+ {file = "multidict-6.0.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cf590b134eb70629e350691ecca88eac3e3b8b3c86992042fb82e3cb1830d5e1"},+ {file = "multidict-6.0.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5c0631926c4f58e9a5ccce555ad7747d9a9f8b10619621f22f9635f069f6233e"},+ {file = "multidict-6.0.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dce1c6912ab9ff5f179eaf6efe7365c1f425ed690b03341911bf4939ef2f3046"},+ {file = "multidict-6.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0868d64af83169e4d4152ec612637a543f7a336e4a307b119e98042e852ad9c"},+ {file = "multidict-6.0.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:141b43360bfd3bdd75f15ed811850763555a251e38b2405967f8e25fb43f7d40"},+ {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:7df704ca8cf4a073334e0427ae2345323613e4df18cc224f647f251e5e75a527"},+ {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:6214c5a5571802c33f80e6c84713b2c79e024995b9c5897f794b43e714daeec9"},+ {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:cd6c8fca38178e12c00418de737aef1261576bd1b6e8c6134d3e729a4e858b38"},+ {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:e02021f87a5b6932fa6ce916ca004c4d441509d33bbdbeca70d05dff5e9d2479"},+ {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ebd8d160f91a764652d3e51ce0d2956b38efe37c9231cd82cfc0bed2e40b581c"},+ {file = "multidict-6.0.5-cp39-cp39-win32.whl", hash = "sha256:04da1bb8c8dbadf2a18a452639771951c662c5ad03aefe4884775454be322c9b"},+ {file = "multidict-6.0.5-cp39-cp39-win_amd64.whl", hash = "sha256:d6f6d4f185481c9669b9447bf9d9cf3b95a0e9df9d169bbc17e363b7d5487755"},+ {file = "multidict-6.0.5-py3-none-any.whl", hash = "sha256:0d63c74e3d7ab26de115c49bffc92cc77ed23395303d496eae515d4204a625e7"},+ {file = "multidict-6.0.5.tar.gz", hash = "sha256:f7e301075edaf50500f0b341543c41194d8df3ae5caf4702f2095f3ca73dd8da"},][[package]]@@ -4558,55 +4592,132 @@ files = [[[package]]name = "pydantic"-version = "1.10.13"-description = "Data validation and settings management using python type hints"+version = "2.7.4"+description = "Data validation using Python type hints"optional = false-python-versions = ">=3.7"+python-versions = ">=3.8"files = [- {file = "pydantic-1.10.13-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:efff03cc7a4f29d9009d1c96ceb1e7a70a65cfe86e89d34e4a5f2ab1e5693737"},- {file = "pydantic-1.10.13-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:3ecea2b9d80e5333303eeb77e180b90e95eea8f765d08c3d278cd56b00345d01"},- {file = "pydantic-1.10.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1740068fd8e2ef6eb27a20e5651df000978edce6da6803c2bef0bc74540f9548"},- {file = "pydantic-1.10.13-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:84bafe2e60b5e78bc64a2941b4c071a4b7404c5c907f5f5a99b0139781e69ed8"},- {file = "pydantic-1.10.13-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:bc0898c12f8e9c97f6cd44c0ed70d55749eaf783716896960b4ecce2edfd2d69"},- {file = "pydantic-1.10.13-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:654db58ae399fe6434e55325a2c3e959836bd17a6f6a0b6ca8107ea0571d2e17"},- {file = "pydantic-1.10.13-cp310-cp310-win_amd64.whl", hash = "sha256:75ac15385a3534d887a99c713aa3da88a30fbd6204a5cd0dc4dab3d770b9bd2f"},- {file = "pydantic-1.10.13-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c553f6a156deb868ba38a23cf0df886c63492e9257f60a79c0fd8e7173537653"},- {file = "pydantic-1.10.13-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5e08865bc6464df8c7d61439ef4439829e3ab62ab1669cddea8dd00cd74b9ffe"},- {file = "pydantic-1.10.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e31647d85a2013d926ce60b84f9dd5300d44535a9941fe825dc349ae1f760df9"},- {file = "pydantic-1.10.13-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:210ce042e8f6f7c01168b2d84d4c9eb2b009fe7bf572c2266e235edf14bacd80"},- {file = "pydantic-1.10.13-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:8ae5dd6b721459bfa30805f4c25880e0dd78fc5b5879f9f7a692196ddcb5a580"},- {file = "pydantic-1.10.13-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f8e81fc5fb17dae698f52bdd1c4f18b6ca674d7068242b2aff075f588301bbb0"},- {file = "pydantic-1.10.13-cp311-cp311-win_amd64.whl", hash = "sha256:61d9dce220447fb74f45e73d7ff3b530e25db30192ad8d425166d43c5deb6df0"},- {file = "pydantic-1.10.13-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:4b03e42ec20286f052490423682016fd80fda830d8e4119f8ab13ec7464c0132"},- {file = "pydantic-1.10.13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f59ef915cac80275245824e9d771ee939133be38215555e9dc90c6cb148aaeb5"},- {file = "pydantic-1.10.13-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5a1f9f747851338933942db7af7b6ee8268568ef2ed86c4185c6ef4402e80ba8"},- {file = "pydantic-1.10.13-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:97cce3ae7341f7620a0ba5ef6cf043975cd9d2b81f3aa5f4ea37928269bc1b87"},- {file = "pydantic-1.10.13-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:854223752ba81e3abf663d685f105c64150873cc6f5d0c01d3e3220bcff7d36f"},- {file = "pydantic-1.10.13-cp37-cp37m-win_amd64.whl", hash = "sha256:b97c1fac8c49be29486df85968682b0afa77e1b809aff74b83081cc115e52f33"},- {file = "pydantic-1.10.13-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c958d053453a1c4b1c2062b05cd42d9d5c8eb67537b8d5a7e3c3032943ecd261"},- {file = "pydantic-1.10.13-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4c5370a7edaac06daee3af1c8b1192e305bc102abcbf2a92374b5bc793818599"},- {file = "pydantic-1.10.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7d6f6e7305244bddb4414ba7094ce910560c907bdfa3501e9db1a7fd7eaea127"},- {file = "pydantic-1.10.13-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d3a3c792a58e1622667a2837512099eac62490cdfd63bd407993aaf200a4cf1f"},- {file = "pydantic-1.10.13-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:c636925f38b8db208e09d344c7aa4f29a86bb9947495dd6b6d376ad10334fb78"},- {file = "pydantic-1.10.13-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:678bcf5591b63cc917100dc50ab6caebe597ac67e8c9ccb75e698f66038ea953"},- {file = "pydantic-1.10.13-cp38-cp38-win_amd64.whl", hash = "sha256:6cf25c1a65c27923a17b3da28a0bdb99f62ee04230c931d83e888012851f4e7f"},- {file = "pydantic-1.10.13-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:8ef467901d7a41fa0ca6db9ae3ec0021e3f657ce2c208e98cd511f3161c762c6"},- {file = "pydantic-1.10.13-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:968ac42970f57b8344ee08837b62f6ee6f53c33f603547a55571c954a4225691"},- {file = "pydantic-1.10.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9849f031cf8a2f0a928fe885e5a04b08006d6d41876b8bbd2fc68a18f9f2e3fd"},- {file = "pydantic-1.10.13-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:56e3ff861c3b9c6857579de282ce8baabf443f42ffba355bf070770ed63e11e1"},- {file = "pydantic-1.10.13-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f00790179497767aae6bcdc36355792c79e7bbb20b145ff449700eb076c5f96"},- {file = "pydantic-1.10.13-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:75b297827b59bc229cac1a23a2f7a4ac0031068e5be0ce385be1462e7e17a35d"},- {file = "pydantic-1.10.13-cp39-cp39-win_amd64.whl", hash = "sha256:e70ca129d2053fb8b728ee7d1af8e553a928d7e301a311094b8a0501adc8763d"},- {file = "pydantic-1.10.13-py3-none-any.whl", hash = "sha256:b87326822e71bd5f313e7d3bfdc77ac3247035ac10b0c0618bd99dcf95b1e687"},- {file = "pydantic-1.10.13.tar.gz", hash = "sha256:32c8b48dcd3b2ac4e78b0ba4af3a2c2eb6048cb75202f0ea7b34feb740efc340"},-]--[package.dependencies]-typing-extensions = ">=4.2.0"+ {file = "pydantic-2.7.4-py3-none-any.whl", hash = "sha256:ee8538d41ccb9c0a9ad3e0e5f07bf15ed8015b481ced539a1759d8cc89ae90d0"},+ {file = "pydantic-2.7.4.tar.gz", hash = "sha256:0c84efd9548d545f63ac0060c1e4d39bb9b14db8b3c0652338aecc07b5adec52"},+]++[package.dependencies]+annotated-types = ">=0.4.0"+pydantic-core = "2.18.4"+typing-extensions = ">=4.6.1"++[package.extras]+email = ["email-validator (>=2.0.0)"]++[[package]]+name = "pydantic-core"+version = "2.18.4"+description = "Core functionality for Pydantic validation and serialization"+optional = false+python-versions = ">=3.8"+files = [+ {file = "pydantic_core-2.18.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:f76d0ad001edd426b92233d45c746fd08f467d56100fd8f30e9ace4b005266e4"},+ {file = "pydantic_core-2.18.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:59ff3e89f4eaf14050c8022011862df275b552caef8082e37b542b066ce1ff26"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a55b5b16c839df1070bc113c1f7f94a0af4433fcfa1b41799ce7606e5c79ce0a"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:4d0dcc59664fcb8974b356fe0a18a672d6d7cf9f54746c05f43275fc48636851"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8951eee36c57cd128f779e641e21eb40bc5073eb28b2d23f33eb0ef14ffb3f5d"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4701b19f7e3a06ea655513f7938de6f108123bf7c86bbebb1196eb9bd35cf724"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e00a3f196329e08e43d99b79b286d60ce46bed10f2280d25a1718399457e06be"},+ {file = "pydantic_core-2.18.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:97736815b9cc893b2b7f663628e63f436018b75f44854c8027040e05230eeddb"},+ {file = "pydantic_core-2.18.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6891a2ae0e8692679c07728819b6e2b822fb30ca7445f67bbf6509b25a96332c"},+ {file = "pydantic_core-2.18.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bc4ff9805858bd54d1a20efff925ccd89c9d2e7cf4986144b30802bf78091c3e"},+ {file = "pydantic_core-2.18.4-cp310-none-win32.whl", hash = "sha256:1b4de2e51bbcb61fdebd0ab86ef28062704f62c82bbf4addc4e37fa4b00b7cbc"},+ {file = "pydantic_core-2.18.4-cp310-none-win_amd64.whl", hash = "sha256:6a750aec7bf431517a9fd78cb93c97b9b0c496090fee84a47a0d23668976b4b0"},+ {file = "pydantic_core-2.18.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:942ba11e7dfb66dc70f9ae66b33452f51ac7bb90676da39a7345e99ffb55402d"},+ {file = "pydantic_core-2.18.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:b2ebef0e0b4454320274f5e83a41844c63438fdc874ea40a8b5b4ecb7693f1c4"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a642295cd0c8df1b86fc3dced1d067874c353a188dc8e0f744626d49e9aa51c4"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f09baa656c904807e832cf9cce799c6460c450c4ad80803517032da0cd062e2"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:98906207f29bc2c459ff64fa007afd10a8c8ac080f7e4d5beff4c97086a3dabd"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:19894b95aacfa98e7cb093cd7881a0c76f55731efad31073db4521e2b6ff5b7d"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0fbbdc827fe5e42e4d196c746b890b3d72876bdbf160b0eafe9f0334525119c8"},+ {file = "pydantic_core-2.18.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f85d05aa0918283cf29a30b547b4df2fbb56b45b135f9e35b6807cb28bc47951"},+ {file = "pydantic_core-2.18.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e85637bc8fe81ddb73fda9e56bab24560bdddfa98aa64f87aaa4e4b6730c23d2"},+ {file = "pydantic_core-2.18.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:2f5966897e5461f818e136b8451d0551a2e77259eb0f73a837027b47dc95dab9"},+ {file = "pydantic_core-2.18.4-cp311-none-win32.whl", hash = "sha256:44c7486a4228413c317952e9d89598bcdfb06399735e49e0f8df643e1ccd0558"},+ {file = "pydantic_core-2.18.4-cp311-none-win_amd64.whl", hash = "sha256:8a7164fe2005d03c64fd3b85649891cd4953a8de53107940bf272500ba8a788b"},+ {file = "pydantic_core-2.18.4-cp311-none-win_arm64.whl", hash = "sha256:4e99bc050fe65c450344421017f98298a97cefc18c53bb2f7b3531eb39bc7805"},+ {file = "pydantic_core-2.18.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:6f5c4d41b2771c730ea1c34e458e781b18cc668d194958e0112455fff4e402b2"},+ {file = "pydantic_core-2.18.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2fdf2156aa3d017fddf8aea5adfba9f777db1d6022d392b682d2a8329e087cef"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4748321b5078216070b151d5271ef3e7cc905ab170bbfd27d5c83ee3ec436695"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:847a35c4d58721c5dc3dba599878ebbdfd96784f3fb8bb2c356e123bdcd73f34"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3c40d4eaad41f78e3bbda31b89edc46a3f3dc6e171bf0ecf097ff7a0ffff7cb1"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:21a5e440dbe315ab9825fcd459b8814bb92b27c974cbc23c3e8baa2b76890077"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:01dd777215e2aa86dfd664daed5957704b769e726626393438f9c87690ce78c3"},+ {file = "pydantic_core-2.18.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4b06beb3b3f1479d32befd1f3079cc47b34fa2da62457cdf6c963393340b56e9"},+ {file = "pydantic_core-2.18.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:564d7922e4b13a16b98772441879fcdcbe82ff50daa622d681dd682175ea918c"},+ {file = "pydantic_core-2.18.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:0eb2a4f660fcd8e2b1c90ad566db2b98d7f3f4717c64fe0a83e0adb39766d5b8"},+ {file = "pydantic_core-2.18.4-cp312-none-win32.whl", hash = "sha256:8b8bab4c97248095ae0c4455b5a1cd1cdd96e4e4769306ab19dda135ea4cdb07"},+ {file = "pydantic_core-2.18.4-cp312-none-win_amd64.whl", hash = "sha256:14601cdb733d741b8958224030e2bfe21a4a881fb3dd6fbb21f071cabd48fa0a"},+ {file = "pydantic_core-2.18.4-cp312-none-win_arm64.whl", hash = "sha256:c1322d7dd74713dcc157a2b7898a564ab091ca6c58302d5c7b4c07296e3fd00f"},+ {file = "pydantic_core-2.18.4-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:823be1deb01793da05ecb0484d6c9e20baebb39bd42b5d72636ae9cf8350dbd2"},+ {file = "pydantic_core-2.18.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:ebef0dd9bf9b812bf75bda96743f2a6c5734a02092ae7f721c048d156d5fabae"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ae1d6df168efb88d7d522664693607b80b4080be6750c913eefb77e34c12c71a"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f9899c94762343f2cc2fc64c13e7cae4c3cc65cdfc87dd810a31654c9b7358cc"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:99457f184ad90235cfe8461c4d70ab7dd2680e28821c29eca00252ba90308c78"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:18f469a3d2a2fdafe99296a87e8a4c37748b5080a26b806a707f25a902c040a8"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b7cdf28938ac6b8b49ae5e92f2735056a7ba99c9b110a474473fd71185c1af5d"},+ {file = "pydantic_core-2.18.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:938cb21650855054dc54dfd9120a851c974f95450f00683399006aa6e8abb057"},+ {file = "pydantic_core-2.18.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:44cd83ab6a51da80fb5adbd9560e26018e2ac7826f9626bc06ca3dc074cd198b"},+ {file = "pydantic_core-2.18.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:972658f4a72d02b8abfa2581d92d59f59897d2e9f7e708fdabe922f9087773af"},+ {file = "pydantic_core-2.18.4-cp38-none-win32.whl", hash = "sha256:1d886dc848e60cb7666f771e406acae54ab279b9f1e4143babc9c2258213daa2"},+ {file = "pydantic_core-2.18.4-cp38-none-win_amd64.whl", hash = "sha256:bb4462bd43c2460774914b8525f79b00f8f407c945d50881568f294c1d9b4443"},+ {file = "pydantic_core-2.18.4-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:44a688331d4a4e2129140a8118479443bd6f1905231138971372fcde37e43528"},+ {file = "pydantic_core-2.18.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a2fdd81edd64342c85ac7cf2753ccae0b79bf2dfa063785503cb85a7d3593223"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:86110d7e1907ab36691f80b33eb2da87d780f4739ae773e5fc83fb272f88825f"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:46387e38bd641b3ee5ce247563b60c5ca098da9c56c75c157a05eaa0933ed154"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:123c3cec203e3f5ac7b000bd82235f1a3eced8665b63d18be751f115588fea30"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dc1803ac5c32ec324c5261c7209e8f8ce88e83254c4e1aebdc8b0a39f9ddb443"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:53db086f9f6ab2b4061958d9c276d1dbe3690e8dd727d6abf2321d6cce37fa94"},+ {file = "pydantic_core-2.18.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:abc267fa9837245cc28ea6929f19fa335f3dc330a35d2e45509b6566dc18be23"},+ {file = "pydantic_core-2.18.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:a0d829524aaefdebccb869eed855e2d04c21d2d7479b6cada7ace5448416597b"},+ {file = "pydantic_core-2.18.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:509daade3b8649f80d4e5ff21aa5673e4ebe58590b25fe42fac5f0f52c6f034a"},+ {file = "pydantic_core-2.18.4-cp39-none-win32.whl", hash = "sha256:ca26a1e73c48cfc54c4a76ff78df3727b9d9f4ccc8dbee4ae3f73306a591676d"},+ {file = "pydantic_core-2.18.4-cp39-none-win_amd64.whl", hash = "sha256:c67598100338d5d985db1b3d21f3619ef392e185e71b8d52bceacc4a7771ea7e"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:574d92eac874f7f4db0ca653514d823a0d22e2354359d0759e3f6a406db5d55d"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:1f4d26ceb5eb9eed4af91bebeae4b06c3fb28966ca3a8fb765208cf6b51102ab"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77450e6d20016ec41f43ca4a6c63e9fdde03f0ae3fe90e7c27bdbeaece8b1ed4"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d323a01da91851a4f17bf592faf46149c9169d68430b3146dcba2bb5e5719abc"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:43d447dd2ae072a0065389092a231283f62d960030ecd27565672bd40746c507"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:578e24f761f3b425834f297b9935e1ce2e30f51400964ce4801002435a1b41ef"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:81b5efb2f126454586d0f40c4d834010979cb80785173d1586df845a632e4e6d"},+ {file = "pydantic_core-2.18.4-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:ab86ce7c8f9bea87b9d12c7f0af71102acbf5ecbc66c17796cff45dae54ef9a5"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:90afc12421df2b1b4dcc975f814e21bc1754640d502a2fbcc6d41e77af5ec312"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:51991a89639a912c17bef4b45c87bd83593aee0437d8102556af4885811d59f5"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:293afe532740370aba8c060882f7d26cfd00c94cae32fd2e212a3a6e3b7bc15e"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b48ece5bde2e768197a2d0f6e925f9d7e3e826f0ad2271120f8144a9db18d5c8"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:eae237477a873ab46e8dd748e515c72c0c804fb380fbe6c85533c7de51f23a8f"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:834b5230b5dfc0c1ec37b2fda433b271cbbc0e507560b5d1588e2cc1148cf1ce"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:e858ac0a25074ba4bce653f9b5d0a85b7456eaddadc0ce82d3878c22489fa4ee"},+ {file = "pydantic_core-2.18.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:2fd41f6eff4c20778d717af1cc50eca52f5afe7805ee530a4fbd0bae284f16e9"},+ {file = "pydantic_core-2.18.4.tar.gz", hash = "sha256:ec3beeada09ff865c344ff3bc2f427f5e6c26401cc6113d77e372c3fdac73864"},+]++[package.dependencies]+typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0"++[[package]]+name = "pydantic-settings"+version = "2.3.4"+description = "Settings management using Pydantic"+optional = true+python-versions = ">=3.8"+files = [+ {file = "pydantic_settings-2.3.4-py3-none-any.whl", hash = "sha256:11ad8bacb68a045f00e4f862c7a718c8a9ec766aa8fd4c32e39a0594b207b53a"},+ {file = "pydantic_settings-2.3.4.tar.gz", hash = "sha256:c5802e3d62b78e82522319bbc9b8f8ffb28ad1c988a99311d04f2a6051fca0a7"},+]++[package.dependencies]+pydantic = ">=2.7.0"+python-dotenv = ">=0.21.0"[package.extras]-dotenv = ["python-dotenv (>=0.10.4)"]-email = ["email-validator (>=1.0.3)"]+toml = ["tomli (>=2.0.1)"]+yaml = ["pyyaml (>=6.0.1)"][[package]]name = "pyflakes"@@ -6891,4 +7002,4 @@ benchmark = ["agbenchmark"][metadata]lock-version = "2.0"python-versions = "^3.10"-content-hash = "9cf84334ccdd6c388899d49a7a7f341a92ac3b3a85f558d0035ee44462ec7f38"+content-hash = "ae056efba5ba4bf69ae1fe9aa84169e20b89368fbd982c7812c3b0f41d46c666"diff --git a/forge/pyproject.toml b/forge/pyproject.tomlindex 8f3a70182c..996ad768b9 100644--- a/forge/pyproject.toml+++ b/forge/pyproject.toml@@ -36,7 +36,7 @@ litellm = "^1.17.9"openai = "^1.7.2"Pillow = "*"playsound = "~1.2.2"-pydantic = "*"+pydantic = "^2.7.2"python-docx = "*"python-dotenv = "^1.0.0"python-multipart = "^0.0.7"