minor fix

This commit is contained in:
luohy15
2025-09-26 23:25:33 +08:00
parent 0ab323c2c6
commit 8b04ec307f
7 changed files with 17 additions and 17 deletions
@@ -43,7 +43,7 @@ def _make_api_request(function_name: str, params: dict) -> dict | str:
api_params.update({
"function": function_name,
"apikey": get_api_key(),
"source": "alphavangtagemcp"
"source": "tradingagents",
})
# Handle entitlement parameter if present in params or global variable
+1 -1
View File
@@ -133,7 +133,7 @@ def get_vendor(category: str, method: str = None) -> str:
# Fall back to category-level configuration
return config.get("data_vendors", {}).get(category, "default")
def route_to_vender(method: str, *args, **kwargs):
def route_to_vendor(method: str, *args, **kwargs):
"""Route method calls to appropriate vendor implementation."""
category = get_category_for_method(method)
vendor_config = get_vendor(category, method)