From 9dcfef14f679ca3f23cf478092f979151c655b4e Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 5 Sep 2025 11:27:59 +0800 Subject: [PATCH] bugfgix --- llmage/llmclient.py | 2 -- wwwroot/show_llms.ui | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/llmage/llmclient.py b/llmage/llmclient.py index c67a850..162f079 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -99,13 +99,11 @@ async def uapi_request(request, sor, caller_orgid, callerid, uapi, llm, params): def b64media2url(request, mediafile): env = request._run_ns entire_url = env.entire_url - debug(f'{request=}{type(request)}, {len(mediafile)=}, {entire_url=}') if mediafile.startswith('data:'): try: fs = FileStorage() fname = getFilenameFromBase64(mediafile) fpath = fs._name2path(fname) - debug(f'{env.keys()=},{fpath=},{fname=}') base64_to_file(mediafile, fpath) path = fs.webpath(fpath) return entire_url('/idfile?path=') + env.quote(path) diff --git a/wwwroot/show_llms.ui b/wwwroot/show_llms.ui index 49d46de..705eb44 100644 --- a/wwwroot/show_llms.ui +++ b/wwwroot/show_llms.ui @@ -30,6 +30,7 @@ "widgettype":"VScrollPanel", "options":{ "css":"card", + "bgcolor": "#def0f0", "cwidth":16, "cheight":14 },