KastanDay / ML4Bio

LLMs to execute Bioinformatics workflows, esp. RNA-seq
MIT License
0 stars 0 forks source link

Create a full command line executable workflow for RNA-Seq on PBMC Samples. Open a PR on different branch once finished. #21

Open minump opened 7 months ago

lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 Follow the bot's progress in real time on LangSmith.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: GitHubAction._run() missing 1 required positional argument: 'instructions' Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 96, in handle_issue_opened
    result = bot.run(prompt)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/ml4bio_agent.py", line 36, in run
    result = self.agent.with_config({"run_name": "ML4BIO Plan & Execute Agent"}).invoke({"input":f"{input}"}, {"metadata": {"run_id_in_metadata": str(self.run_id_in_metadata)}})
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/schema/runnable/base.py", line 2316, in invoke
    return self.bound.invoke(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 84, in invoke
    return self(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 306, in __call__
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 300, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/agent_executor.py", line 56, in _call
    response = self.executor.step(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/executors/base.py", line 37, in step
    response = self.chain.run(**inputs, callbacks=callbacks)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 506, in run
    return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 306, in __call__
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 300, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/agents/agent.py", line 1141, in _call
    next_step_output = self._take_next_step(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/agents/agent.py", line 991, in _take_next_step
    observation = tool.run(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/tools/base.py", line 364, in run
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/tools/base.py", line 336, in run
    self._run(*tool_args, run_manager=run_manager, **tool_kwargs)
TypeError: GitHubAction._run() missing 1 required positional argument: 'instructions'
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 Follow the bot's progress in real time on LangSmith.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: GitHubAction._run() missing 1 required positional argument: 'instructions' Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 98, in handle_issue_opened
    result = bot.run(prompt)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/ml4bio_agent.py", line 36, in run
    result = self.agent.with_config({"run_name": "ML4BIO Plan & Execute Agent"}).invoke({"input":f"{input}"}, {"metadata": {"run_id_in_metadata": str(self.run_id_in_metadata)}})
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/schema/runnable/base.py", line 2316, in invoke
    return self.bound.invoke(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 84, in invoke
    return self(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 306, in __call__
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 300, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/agent_executor.py", line 56, in _call
    response = self.executor.step(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/executors/base.py", line 37, in step
    response = self.chain.run(**inputs, callbacks=callbacks)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 506, in run
    return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 306, in __call__
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 300, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/agents/agent.py", line 1141, in _call
    next_step_output = self._take_next_step(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/agents/agent.py", line 991, in _take_next_step
    observation = tool.run(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/tools/base.py", line 364, in run
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/tools/base.py", line 336, in run
    self._run(*tool_args, run_manager=run_manager, **tool_kwargs)
TypeError: GitHubAction._run() missing 1 required positional argument: 'instructions'
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 Follow the bot's progress in real time on LangSmith.

lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 Follow the bot's progress in real time on LangSmith.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: 'NoneType' object is not subscriptable Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 109, in handle_issue_opened
    ray.get(post_comment.remote(issue_or_pr=issue, text=str(result['output']), time_delay_s=0))
TypeError: 'NoneType' object is not subscriptable
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 Follow the bot's progress in real time on LangSmith.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: 'NoneType' object is not subscriptable Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 109, in handle_issue_opened
    ray.get(post_comment.remote(issue_or_pr=issue, text=str(result['output']), time_delay_s=0))
TypeError: 'NoneType' object is not subscriptable
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 Follow the bot's progress in real time on LangSmith.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: GitHubAction._run() missing 1 required positional argument: 'instructions' Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 98, in handle_issue_opened
    result = bot.run(prompt)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/ml4bio_agent.py", line 36, in run
    result = self.agent.with_config({"run_name": "ML4BIO Plan & Execute Agent"}).invoke({"input":f"{input}"}, {"metadata": {"run_id_in_metadata": str(self.run_id_in_metadata)}})
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/schema/runnable/base.py", line 2316, in invoke
    return self.bound.invoke(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 84, in invoke
    return self(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 306, in __call__
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 300, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/agent_executor.py", line 56, in _call
    response = self.executor.step(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/executors/base.py", line 37, in step
    response = self.chain.run(**inputs, callbacks=callbacks)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 506, in run
    return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 306, in __call__
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 300, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/agents/agent.py", line 1141, in _call
    next_step_output = self._take_next_step(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/agents/agent.py", line 991, in _take_next_step
    observation = tool.run(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/tools/base.py", line 364, in run
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/tools/base.py", line 336, in run
    self._run(*tool_args, run_manager=run_manager, **tool_kwargs)
TypeError: GitHubAction._run() missing 1 required positional argument: 'instructions'
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 Follow the bot's progress in real time on LangSmith.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: 'NoneType' object is not subscriptable Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 109, in handle_issue_opened
    ray.get(post_comment.remote(issue_or_pr=issue, text=str(result['output']), time_delay_s=0))
TypeError: 'NoneType' object is not subscriptable
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 Follow the bot's progress in real time on LangSmith.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: GitHubAction._run() missing 1 required positional argument: 'instructions' Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 98, in handle_issue_opened
    result = bot.run(prompt)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/ml4bio_agent.py", line 36, in run
    result = self.agent.with_config({"run_name": "ML4BIO Plan & Execute Agent"}).invoke({"input":f"{input}"}, {"metadata": {"run_id_in_metadata": str(self.run_id_in_metadata)}})
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/schema/runnable/base.py", line 2316, in invoke
    return self.bound.invoke(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 84, in invoke
    return self(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 306, in __call__
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 300, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/agent_executor.py", line 56, in _call
    response = self.executor.step(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/executors/base.py", line 37, in step
    response = self.chain.run(**inputs, callbacks=callbacks)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 506, in run
    return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 306, in __call__
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 300, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/agents/agent.py", line 1141, in _call
    next_step_output = self._take_next_step(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/agents/agent.py", line 991, in _take_next_step
    observation = tool.run(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/tools/base.py", line 364, in run
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/tools/base.py", line 336, in run
    self._run(*tool_args, run_manager=run_manager, **tool_kwargs)
TypeError: GitHubAction._run() missing 1 required positional argument: 'instructions'
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 Follow the bot's progress in real time on LangSmith.

lil-jr-dev[bot] commented 7 months ago

The changes have been implemented and a new pull request has been created. You can view the PR here: https://github.com/RNASeq-Analysis/pull/25

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: 'NoneType' object is not subscriptable Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 109, in handle_issue_opened
    ray.get(post_comment.remote(issue_or_pr=issue, text=str(result['output']), time_delay_s=0))
TypeError: 'NoneType' object is not subscriptable
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 Follow the bot's progress in real time on LangSmith.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: 'NoneType' object is not subscriptable Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 109, in handle_issue_opened
    ray.get(post_comment.remote(issue_or_pr=issue, text=str(result['output']), time_delay_s=0))
TypeError: 'NoneType' object is not subscriptable
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 Follow the bot's progress in real time on LangSmith.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: 'NoneType' object is not subscriptable Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 109, in handle_issue_opened
    ray.get(post_comment.remote(issue_or_pr=issue, text=str(result['output']), time_delay_s=0))
TypeError: 'NoneType' object is not subscriptable
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: 'WorkflowAgent' object has no attribute 'run_id_in_metadata' Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 95, in handle_issue_opened
    bot = WorkflowAgent(run_id_in_metadata=langsmith_run_id)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/ml4bio_agent.py", line 32, in __init__
    self.agent = self.make_agent()
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/ml4bio_agent.py", line 45, in make_agent
    memory_handler = memorycallbacks.MemoryCallbackHandler(run_id=self.run_id_in_metadata)
AttributeError: 'WorkflowAgent' object has no attribute 'run_id_in_metadata'
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: 'WorkflowAgent' object has no attribute 'run_id_in_metadata' Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 95, in handle_issue_opened
    bot = WorkflowAgent(run_id_in_metadata=langsmith_run_id)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/ml4bio_agent.py", line 32, in __init__
    self.agent = self.make_agent()
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/ml4bio_agent.py", line 45, in make_agent
    memory_handler = memorycallbacks.MemoryCallbackHandler(run_id=self.run_id_in_metadata)
AttributeError: 'WorkflowAgent' object has no attribute 'run_id_in_metadata'
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 Follow the bot's progress in real time on LangSmith.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: GitHubAction._run() missing 1 required positional argument: 'instructions' Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 96, in handle_issue_opened
    result = bot.run(prompt)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/ml4bio_agent.py", line 38, in run
    result = self.agent.with_config({"run_name": "ML4BIO Plan & Execute Agent"}).invoke({"input": f"{input}"}, {
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/schema/runnable/base.py", line 2316, in invoke
    return self.bound.invoke(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 84, in invoke
    return self(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 306, in __call__
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 300, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/agent_executor.py", line 56, in _call
    response = self.executor.step(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/executors/base.py", line 37, in step
    response = self.chain.run(**inputs, callbacks=callbacks)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 506, in run
    return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 306, in __call__
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/chains/base.py", line 300, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/agents/agent.py", line 1141, in _call
    next_step_output = self._take_next_step(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/agents/agent.py", line 991, in _take_next_step
    observation = tool.run(
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/tools/base.py", line 364, in run
    raise e
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/tools/base.py", line 336, in run
    self._run(*tool_args, run_manager=run_manager, **tool_kwargs)
TypeError: GitHubAction._run() missing 1 required positional argument: 'instructions'
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

👉 [Follow the bot's progress in real time on LangSmith](Failed to generate sharable URL, cannot find this run on LangSmith. RunID: 601f1b97-c576-47cd-8025-95d681895f77).

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: 'NoneType' object is not subscriptable Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 113, in handle_issue_opened
    ray.get(post_comment.remote(issue_or_pr=issue, text=str(result['output']), time_delay_s=0))
TypeError: 'NoneType' object is not subscriptable
lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: 2 validation errors for AzureChatOpenAI callbacks value is not a valid list (type=type_error.list) callbacks instance of BaseCallbackManager expected (type=type_error.arbitrary_type; expected_arbitrary_type=BaseCallbackManager) Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 101, in handle_issue_opened
    bot = WorkflowAgent(run_id_in_metadata=langsmith_run_id, image_name=image_name)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/ml4bio_agent.py", line 33, in __init__
    self.llm = AzureChatOpenAI(temperature=0, model="gpt-4-0613", max_retries=3, request_timeout=60 * 3,
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/load/serializable.py", line 97, in __init__
    super().__init__(**kwargs)
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 2 validation errors for AzureChatOpenAI
callbacks
  value is not a valid list (type=type_error.list)
callbacks
  instance of BaseCallbackManager expected (type=type_error.arbitrary_type; expected_arbitrary_type=BaseCallbackManager)
lil-jr-dev[bot] commented 7 months ago

👉 [Follow the bot's progress in real time on LangSmith](Failed to generate sharable URL, cannot find this run on LangSmith. RunID: 9f2fd558-8eb9-4d58-b8b7-564e226e506b).

lil-jr-dev[bot] commented 7 months ago

Thanks for opening a new issue! I'll now try to finish this implementation and open a PR for you to review.

You can monitor the LangSmith trace here.

Feel free to comment in this thread to give me additional instructions, or I'll tag you in a comment if I get stuck. If I think I'm successful I'll 'request your review' on the resulting PR. Just watch for emails while I work.

lil-jr-dev[bot] commented 7 months ago

Error in handle_issue_opened: 2 validation errors for AzureChatOpenAI callbacks value is not a valid list (type=type_error.list) callbacks instance of BaseCallbackManager expected (type=type_error.arbitrary_type; expected_arbitrary_type=BaseCallbackManager) Traceback

Traceback (most recent call last):
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/github_webhook_handlers.py", line 101, in handle_issue_opened
    bot = WorkflowAgent(run_id_in_metadata=langsmith_run_id, image_name=image_name)
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/ml4bio_agent.py", line 33, in __init__
    self.llm = AzureChatOpenAI(temperature=0, model="gpt-4-0613", max_retries=3, request_timeout=60 * 3,
  File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/.venv310/src/langchain/libs/langchain/langchain/load/serializable.py", line 97, in __init__
    super().__init__(**kwargs)
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 2 validation errors for AzureChatOpenAI
callbacks
  value is not a valid list (type=type_error.list)
callbacks
  instance of BaseCallbackManager expected (type=type_error.arbitrary_type; expected_arbitrary_type=BaseCallbackManager)