Skip to content

Commit da4989a

Browse files
committed
Add default input field for voice-agent apps
1 parent 2f7a0b3 commit da4989a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

llmstack/apps/apis.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,18 @@ def post(self, request):
682682
"processors": app_processors,
683683
}
684684

685+
if app_type_slug == "voice-agent":
686+
app_data["input_fields"] = [
687+
{
688+
"name": "task",
689+
"type": "multi",
690+
"stream": True,
691+
"required": True,
692+
"description": "What do you want the agent to perform?",
693+
"placeholder": "Type in your message",
694+
},
695+
]
696+
685697
# Add app icon to app data if it exists
686698
if app_icon:
687699
app_data["icon"] = app_icon

0 commit comments

Comments
 (0)