We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 037e390 commit fcce735Copy full SHA for fcce735
api/agentok_api/templates/import_mapping.j2
@@ -16,7 +16,7 @@
16
'DALLEAgent': 'from agentok_api.extensions.dalle_agent import DALLEAgent',
17
} -%}
18
{%- for node in nodes -%}
19
- {% set cls = node['data'].get('class') %}
+ {% set cls = node['data'].get('class_type') %}
20
{%- if cls and cls in import_dict and import_dict[cls] not in import_lines -%}
21
{% do import_lines.append(import_dict[cls]) %}
22
{%- endif -%}
0 commit comments