diff --git a/wwwroot/list_llms/index.dspy b/wwwroot/list_llms/index.dspy index e8fef14..12eadf4 100644 --- a/wwwroot/list_llms/index.dspy +++ b/wwwroot/list_llms/index.dspy @@ -1,3 +1,7 @@ lctype=params_kw.lctype orderby=params_kw.orderby or 'providerid' -return await get_llms_by_catelog_to_customer(catelogid=lctype, orderby=orderby) +d = await get_llms_by_catelog_to_customer(catelogid=lctype, orderby=orderby) +for x in d: + for l in x['llms']: + l.provider_iconurl = entire_url('/appbase/show_icon.dspy') + '?id='+llm.iconid +return d