Skip to content

Commit

Permalink
Fix state for document agent (#173)
Browse files Browse the repository at this point in the history
- moves state to data file
- improvements for turning off mode once complete
- notes for discovered bugs in flow
  • Loading branch information
momuno authored Oct 25, 2024
1 parent f748061 commit e4e7e71
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 101 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ class ArtifactModel(BaseModel):
# It can also help with pacing the conversation,
# For example, here we have set an exact time limit of 10 turns which the agent will try to fill.
resource_constraint = ResourceConstraint(
quantity=10,
quantity=3,
unit=ResourceConstraintUnit.TURNS,
mode=ResourceConstraintMode.EXACT,
mode=ResourceConstraintMode.MAXIMUM,
)

__all__ = [
Expand Down
Loading

0 comments on commit e4e7e71

Please sign in to comment.