This commit is contained in:
Asuka Minato 2025-12-18 15:03:42 +09:00
parent 16a06923cc
commit 06599f9061
2 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@ class ApiToolTestPayload(BaseModel):
provider_name: str | None = None
credentials: dict[str, Any]
parameters: dict[str, Any]
schema_type: str
schema_type: ApiProviderSchemaType
schema_: str = Field(alias="schema")

View File

@ -244,7 +244,7 @@ class ApiToolManageService:
original_provider: str,
icon: dict,
credentials: dict,
schema_type: str,
_schema_type: ApiProviderSchemaType,
schema: str,
privacy_policy: str | None,
custom_disclaimer: str,
@ -362,7 +362,7 @@ class ApiToolManageService:
tool_name: str,
credentials: dict,
parameters: dict,
schema_type: str,
schema_type: ApiProviderSchemaType,
schema: str,
):
"""