落地报价模板主账与后台:合同映射、灌种 SQL/脚本、智能体填表,并补测服运维探针与合同文档对齐。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-09-14 14:09:45 +08:00
co-authored by Cursor
parent 8bdf4990a2
commit a70bce3c8f
138 changed files with 7239 additions and 1085 deletions
+2
View File
@@ -112,6 +112,7 @@ class LedgerClient:
path: str,
*,
json_body: Optional[dict[str, Any]] = None,
params: Optional[dict[str, Any]] = None,
idempotency_key: str = "",
) -> LedgerResponse:
"""
@@ -128,6 +129,7 @@ class LedgerClient:
method.upper(),
path,
json=json_body,
params=params,
headers=headers,
)
data: Any
+8 -4
View File
@@ -92,12 +92,16 @@ class LedgerApiShell:
def list_quote_templates(self, *, enabled_only: bool = True) -> LedgerResponse:
"""
报价模板列表壳。
报价模板列表。
真相:后台上传/启用;智能体只读已启用项,再经对象存储取字节。
真相:后台上传/启用;智能体只读已启用项,再经对象存储/本地路径取字节。
"""
_ = enabled_only
return self._nyi("list_quote_templates")
path = "/inquiry/quoteTemplate/agent/listEnabled"
return self.client.request_json(
"GET",
path,
params={"enabledOnly": str(bool(enabled_only)).lower()},
)
def wake_agent_ack(
self,