refactor(api): type Tenant custom config with TypedDict and tighten MCP headers type (#34670)

This commit is contained in:
YBoy
2026-04-07 13:18:19 +00:00
committed by GitHub
parent f09be969bb
commit 485fc2c416
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -356,7 +356,7 @@ class MCPToolProvider(TypeBase):
return {}
@property
def headers(self) -> dict[str, Any]:
def headers(self) -> dict[str, str]:
if self.encrypted_headers is None:
return {}
try: