feat:更新智能体工具

This commit is contained in:
2026-07-13 22:06:05 +08:00
parent 900d5bd774
commit 5213897bbd
14 changed files with 672 additions and 157 deletions

17
domain/base.py Normal file
View File

@@ -0,0 +1,17 @@
from config.domain import register_domain, DomainConfig
from domain.bill import *
def init_domains():
register_domain(DomainConfig(
name="bill",
api_url=f"{BILL_BASE_URL}bill/summary",
entity_name="账单",
field_name_map=BILL_FIELD_NAME_MAP,
detail_fields=BILL_DETAIL_FIELDS,
search_fields=BILL_SEARCH_FIELDS,
metrics=BILL_METRICS,
token_getter=get_bill_token,
auth_header="satoken",
date_field="date",
))