Skip to content

Commit

Permalink
Merge pull request #89 from SamparkAI/fx-examples-actions-keys
Browse files Browse the repository at this point in the history
fix: examples and enum keys for actions
  • Loading branch information
utkarsh-dixit authored Jun 1, 2024
2 parents ca730c0 + 3b5a8c6 commit 3b835e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/ResearchAssistant/ResearchAssistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# Composio tool for SerpAPI
composiotoolset = ComposioToolSet()
tools = composiotoolset.get_tools(actions=[Action.SERPAPI_SEARCH])
tools = composiotoolset.get_actions(actions=[Action.SERPAPI_SEARCH])

# Define the Agent
researcher = Agent(
Expand Down
2 changes: 1 addition & 1 deletion examples/swe/benchmark_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def main():
"You are the best programmer. You think carefully and step by step take action."
)
goal = "Help fix the given issue / bug in the code. And make sure you get it working. "
tools = composio_toolset.get_actions(actions=[Action.GREPTILECODEQUERY])
tools = composio_toolset.get_actions(actions=[Action.GREPTILE_CODEQUERY])
issues = get_issues_dataset()

for issue in issues:
Expand Down
2 changes: 1 addition & 1 deletion examples/swe/try-swe.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

goal = "Help fix the given issue / bug in the code. And make sure you get it working. "

tools = composio_toolset.get_actions(actions=[Action.GREPTILECODEQUERY])
tools = composio_toolset.get_actions(actions=[Action.GREPTILE_CODEQUERY])


if __name__ == "__main__":
Expand Down

0 comments on commit 3b835e4

Please sign in to comment.