落地报价模板主账与后台:合同映射、灌种 SQL/脚本、智能体填表,并补测服运维探针与合同文档对齐。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user