Skip to content

Commit

Permalink
v0.1.5 -- fix error if no builder
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Jul 28, 2023
1 parent 4b49d6f commit 70a232c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agentaction/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def compose_action_prompt(action, values):
A string representing the composed prompt.
"""
prompt = action["prompt"]
builder = action["builder"]
builder = action.get("builder", None)
if builder is not None:
prompt = builder(values)
return prompt
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="agentaction",
version="0.1.4",
version="0.1.5",
description="Action chaining and history for agents",
long_description=readme, # added this line
long_description_content_type="text/markdown", # and this line
Expand Down

0 comments on commit 70a232c

Please sign in to comment.