Skip to content

Commit

Permalink
fixed bug in chat template returning error in case of empty input
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Apr 23, 2024
1 parent ddaacdf commit 2eb141c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agenta-web/src/components/Playground/Views/TestView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ const App: React.FC<TestViewProps> = ({
optParams || [],
appId || "",
variant.baseId || "",
isChatVariant ? testItem.chat : [],
isChatVariant ? testItem.chat || [{}] : [],
controller.signal,
true,
)
Expand Down

0 comments on commit 2eb141c

Please sign in to comment.