mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
Fix ruff lint: unquote AgentCard annotation, sort imports
This commit is contained in:
parent
c39b23a5d5
commit
22c9514b58
1 changed files with 2 additions and 3 deletions
|
|
@ -795,12 +795,11 @@ async def create_a2a_client(
|
|||
if extra_headers:
|
||||
verbose_proxy_logger.debug("A2A client created with extra_headers=%s", list(extra_headers.keys()))
|
||||
|
||||
agent_card: "AgentCard | None" = None
|
||||
agent_card: AgentCard | None = None
|
||||
|
||||
if agent_card_params:
|
||||
from pydantic import ValidationError as _ValidationError
|
||||
|
||||
from a2a.compat.v0_3.types import AgentCard as _AgentCard
|
||||
from pydantic import ValidationError as _ValidationError
|
||||
|
||||
try:
|
||||
agent_card = normalize_agent_card_interfaces(_AgentCard.model_validate(agent_card_params))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue