This commit is contained in:
yumoqing 2026-07-29 11:50:00 +08:00
parent bc23679c1b
commit 0cb307407c

View File

@ -63,10 +63,11 @@
"widgettype": "VBox", "widgettype": "VBox",
"options": {"css": "filler", "cheight": 4}, "options": {"css": "filler", "cheight": 4},
"subwidgets": [ "subwidgets": [
{% if isinstance(llm.pricing_display, str) %} {% set pricing_text = llm.pricing_display %}
{% set llm.pricing_display = [llm.pricing_display] %} {% if type(pricing_text) == type("") %}
{% set pricing_text = [pricing_text] %}
{% endif %} {% endif %}
{% for pt in llm.pricing_display %} {% for pt in pricing_text %}
{ {
"widgettype": "Text", "widgettype": "Text",
"options": { "options": {