"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
refactor(channels): drop dead dingtalk_probe helper surface
shadowinlifec1c2c9aede9a
diff --git a/agent/src/channels/dingtalk_probe.py b/agent/src/channels/dingtalk_probe.pyindex fa0039a40..daf2f101c 100644--- a/agent/src/channels/dingtalk_probe.py+++ b/agent/src/channels/dingtalk_probe.py@@ -15,8 +15,7 @@ from typing import TYPE_CHECKING, Anyimport httpx-from src.channels.token_probe import probe_token_endpoint, scrub_secrets-from src.channels.token_probe import response_detail as response_detail # re-export+from src.channels.token_probe import probe_token_endpointif TYPE_CHECKING:from src.channels.dingtalk import DingTalkConfig@@ -36,16 +35,6 @@ def build_http_transport(config: DingTalkConfig) -> httpx.AsyncHTTPTransport | Nreturn None-def scrub_detail(config: DingTalkConfig, text: str) -> str:- """Return diagnostic text with any credential value replaced.-- Transport and rejection messages can echo the request or credential by- accident; every value the config holds as a secret is masked before the- text reaches a result envelope.- """- return scrub_secrets(text, (config.client_secret, config.client_id))--async def test_connection(config: DingTalkConfig, *, sdk_available: bool) -> dict[str, Any]: