diff --git a/wwwroot/test_llm_charging.dspy b/wwwroot/test_llm_charging.dspy index 5c5ac78..d453ec3 100644 --- a/wwwroot/test_llm_charging.dspy +++ b/wwwroot/test_llm_charging.dspy @@ -1,5 +1,5 @@ luid=params_kw.luid -env = ServerEnv() +env = request._run_ns async with get_sor_context(env, 'llmage') as sor: sql = "select a.ppid, b.* from llm a, llmusage b where a.id=b.llmid and b.id=${id}$" recs = await sor.sqlExe(sql, {'id': luid})