Skip to content

Commit b03150d

Browse files
committed
bug #63 fix: profiler when tool params are missing description (valtzu)
This PR was merged into the main branch. Discussion ---------- fix: profiler when tool params are missing description | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | | License | MIT Cherry picking php-llm/llm-chain-bundle#100 ![image](https://github.com/user-attachments/assets/01a25199-716c-4d17-a790-c36b886d125d) Commits ------- 06c6d2b fix: profiler when tool params are missing description (#100)
2 parents 05c1650 + 06c6d2b commit b03150d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ai-bundle/src/Resources/views/data_collector.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
{% for name, parameter in tool.parameters.properties %}
202202
<li>
203203
<strong>{{ name }} ({{ parameter.type }})</strong><br />
204-
<i>{{ parameter.description }}</i>
204+
<i>{{ parameter.description|default() }}</i>
205205
</li>
206206
{% endfor %}
207207
</ul>

0 commit comments

Comments
 (0)