fix: add import json to model_perf.dspy and provider_roi.dspy
This commit is contained in:
parent
64750630e1
commit
0f3c7f23f4
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user