diff --git a/examples/startup_technical_ideas/app.py b/examples/startup_technical_ideas/app.py index 840572af45..57e2ae4461 100644 --- a/examples/startup_technical_ideas/app.py +++ b/examples/startup_technical_ideas/app.py @@ -24,7 +24,7 @@ @ag.entrypoint def chat( - messages: MessagesInput = MessagesInput(), + messages: MessagesInput = MessagesInput([{"role": "string", "content": "string"}]) ) -> str: messages = [{"role": "system", "content": ag.config.system_prompt}] + messages max_tokens = ag.config.max_tokens if ag.config.max_tokens != -1 else None