fix: add import json to model_perf.dspy and provider_roi.dspy

This commit is contained in:
yumoqing 2026-07-17 18:12:56 +08:00
parent 64750630e1
commit 0f3c7f23f4
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
# 模型性能统计 API
import json
env = request._run_ns
async with get_sor_context(env, 'sage_datamark') as sor:
rows = await env.api_model_perf(sor, params_kw)

View File

@ -1,4 +1,5 @@
# 供应商性价比 API
import json
env = request._run_ns
async with get_sor_context(env, 'sage_datamark') as sor:
rows = await env.api_provider_roi(sor, params_kw)