Skip to content

Commit

Permalink
[HOT FIX]: resolve value error in startup_technical_ideas llm app
Browse files Browse the repository at this point in the history
  • Loading branch information
aybruhm committed Nov 29, 2023
1 parent c3960d7 commit 1734b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/startup_technical_ideas/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1734b2f

Please sign in to comment.