Skip to content

Commit

Permalink
Merge pull request #966 from Agenta-AI/gh/create-llm-app-temp-for-chat
Browse files Browse the repository at this point in the history
[HOT FIX]: resolve value error in startup_technical_ideas llm app
  • Loading branch information
mmabrouk authored Nov 29, 2023
2 parents 35fe985 + 1734b2f commit 854a44a
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 854a44a

Please sign in to comment.