Open minump opened 1 year ago
Error in handle_issue_opened: Executable doesn't exist at /Users/minum/Library/Caches/ms-playwright/chromium-1084/chrome-mac/Chromium.app/Contents/MacOS/Chromium ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝ 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 90, 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 30, 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 42, in make_agent
tools = get_tools(self.llm, sync=True)
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/tools.py", line 43, in get_tools
sync_browser = create_sync_playwright_browser()
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/venv/lib/python3.9/site-packages/langchain/tools/playwright/utils.py", line 82, in create_sync_playwright_browser
return browser.chromium.launch(headless=headless)
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/venv/lib/python3.9/site-packages/playwright/sync_api/_generated.py", line 14778, in launch
self._sync(
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/venv/lib/python3.9/site-packages/playwright/_impl/_sync_base.py", line 109, in _sync
return task.result()
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/venv/lib/python3.9/site-packages/playwright/_impl/_browser_type.py", line 96, in launch
Browser, from_channel(await self._channel.send("launch", params))
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/venv/lib/python3.9/site-packages/playwright/_impl/_connection.py", line 61, in send
return await self._connection.wrap_api_call(
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/venv/lib/python3.9/site-packages/playwright/_impl/_connection.py", line 490, in wrap_api_call
return await cb()
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/venv/lib/python3.9/site-packages/playwright/_impl/_connection.py", line 99, in inner_send
result = next(iter(done)).result()
playwright._impl._api_types.Error: Executable doesn't exist at /Users/minum/Library/Caches/ms-playwright/chromium-1084/chrome-mac/Chromium.app/Contents/MacOS/Chromium
╔════════════════════════════════════════════════════════════╗
║ Looks like Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ playwright install ║
║ ║
║ <3 Playwright Team ║
╚════════════════════════════════════════════════════════════╝
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.
Error in handle_issue_opened: 1 validation error for SerpAPIWrapper
root
Did not find serpapi_api_key, please add an environment variable SERPAPI_API_KEY
which contains it, or pass serpapi_api_key
as a named parameter. (type=value_error)
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 90, 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 30, 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 42, in make_agent
tools = get_tools(self.llm, sync=True)
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/tools.py", line 54, in get_tools
search = load_tools(["serpapi"])
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/venv/lib/python3.9/site-packages/langchain/agents/load_tools.py", line 486, in load_tools
tool = _get_tool_func(**sub_kwargs)
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/venv/lib/python3.9/site-packages/langchain/agents/load_tools.py", line 231, in _get_serpapi
func=SerpAPIWrapper(**kwargs).run,
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for SerpAPIWrapper
__root__
Did not find serpapi_api_key, please add an environment variable `SERPAPI_API_KEY` which contains it, or pass `serpapi_api_key` as a named parameter. (type=value_error)
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.
Error in handle_issue_opened: load_agent_executor() got an unexpected keyword argument 'trim_intermediate_steps' 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 90, 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 30, 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 48, in make_agent
executor = load_agent_executor(self.llm, tools, verbose=True, trim_intermediate_steps=fancier_trim_intermediate_steps, handle_parsing_errors=True)
TypeError: load_agent_executor() got an unexpected keyword argument 'trim_intermediate_steps'
👉 [Follow the bot's progress in real time on LangSmith](Failed to generate sharable URL, cannot find this run on LangSmith. RunID: a12dc80b-a0ef-41de-b53d-e43448a34ac4).
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.
commenting
Thanks for opening a new or edited comment on an issue! We'll try to implement changes per your updated request, and will attempt to contribute to any existing PRs related to this or open a new PR if necessary.
Bot hit a runtime exception during execution. TODO: have more bots debug this. Error: Error in handle_comment_opened: name 'ensure_unique_branch_name' is not defined 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 215, in handle_comment_opened
unique_branch_name = ensure_unique_branch_name(repo, "bot-branch")
NameError: name 'ensure_unique_branch_name' is not defined
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.
Error in handle_issue_opened: name 'AzureChatOpenAI' is not defined 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
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 30, 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 41, in make_agent
tools = get_tools()
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/tools.py", line 43, in get_tools
llm = AzureChatOpenAI(temperature=0.1, model="gpt-4-0613", max_retries=3, request_timeout=60 * 3, deployment_name=os.environ['AZURE_OPENAI_ENGINE']) # type: ignore
NameError: name 'AzureChatOpenAI' is not defined
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.
Error in handle_issue_opened: name 'AzureChatOpenAI' is not defined 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
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 30, 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 41, in make_agent
tools = get_tools()
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/tools.py", line 43, in get_tools
llm = AzureChatOpenAI(temperature=0.1, model="gpt-4-0613", max_retries=3, request_timeout=60 * 3, deployment_name=os.environ['AZURE_OPENAI_ENGINE']) # type: ignore
NameError: name 'AzureChatOpenAI' is not defined
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.
Error in handle_issue_opened: ConversationBufferMemory.load_memory_variables() missing 1 required positional argument: 'inputs' 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
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 30, 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 46, in make_agent
print(ConversationBufferMemory.load_memory_variables(memory))
TypeError: ConversationBufferMemory.load_memory_variables() missing 1 required positional argument: 'inputs'
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.
Error in handle_issue_opened: ConversationBufferMemory.load_memory_variables() missing 1 required positional argument: 'inputs' 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
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 30, 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 46, in make_agent
print(ConversationBufferMemory.load_memory_variables({}))
TypeError: ConversationBufferMemory.load_memory_variables() missing 1 required positional argument: 'inputs'
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.
Error in handle_issue_opened: One input key expected got ['previous_steps', 'current_step', 'objective', 'input'] 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 99, 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 34, 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/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/schema/runnable/base.py", line 2316, in invoke
return self.bound.invoke(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 84, in invoke
return self(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 306, in __call__
raise e
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 300, in __call__
self._call(inputs, run_manager=run_manager)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/agent_executor.py", line 56, in _call
response = self.executor.step(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/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/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 506, in run
return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 308, in __call__
final_outputs: Dict[str, Any] = self.prep_outputs(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 404, in prep_outputs
self.memory.save_context(inputs, outputs)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/chat_memory.py", line 35, in save_context
input_str, output_str = self._get_input_output(inputs, outputs)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/chat_memory.py", line 22, in _get_input_output
prompt_input_key = get_prompt_input_key(inputs, self.memory_variables)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/utils.py", line 19, in get_prompt_input_key
raise ValueError(f"One input key expected got {prompt_input_keys}")
ValueError: One input key expected got ['previous_steps', 'current_step', 'objective', 'input']
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.
Error in handle_issue_opened: One input key expected got ['current_step', 'input', 'objective'] 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 99, 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 34, 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/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/schema/runnable/base.py", line 2316, in invoke
return self.bound.invoke(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 84, in invoke
return self(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 306, in __call__
raise e
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 300, in __call__
self._call(inputs, run_manager=run_manager)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/agent_executor.py", line 56, in _call
response = self.executor.step(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/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/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 506, in run
return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 308, in __call__
final_outputs: Dict[str, Any] = self.prep_outputs(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 404, in prep_outputs
self.memory.save_context(inputs, outputs)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/chat_memory.py", line 35, in save_context
input_str, output_str = self._get_input_output(inputs, outputs)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/chat_memory.py", line 22, in _get_input_output
prompt_input_key = get_prompt_input_key(inputs, self.memory_variables)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/utils.py", line 19, in get_prompt_input_key
raise ValueError(f"One input key expected got {prompt_input_keys}")
ValueError: One input key expected got ['current_step', 'input', 'objective']
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.
Error in handle_issue_opened: One input key expected got ['previous_steps', 'objective', 'input'] 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 99, 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 34, 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/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/schema/runnable/base.py", line 2316, in invoke
return self.bound.invoke(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 84, in invoke
return self(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 306, in __call__
raise e
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 300, in __call__
self._call(inputs, run_manager=run_manager)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/agent_executor.py", line 56, in _call
response = self.executor.step(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/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/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 506, in run
return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 308, in __call__
final_outputs: Dict[str, Any] = self.prep_outputs(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 404, in prep_outputs
self.memory.save_context(inputs, outputs)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/chat_memory.py", line 35, in save_context
input_str, output_str = self._get_input_output(inputs, outputs)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/chat_memory.py", line 22, in _get_input_output
prompt_input_key = get_prompt_input_key(inputs, self.memory_variables)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/utils.py", line 19, in get_prompt_input_key
raise ValueError(f"One input key expected got {prompt_input_keys}")
ValueError: One input key expected got ['previous_steps', 'objective', 'input']
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.
Error in handle_issue_opened: One input key expected got ['current_step', 'previous_steps', 'input'] 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 99, 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 34, 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/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/schema/runnable/base.py", line 2316, in invoke
return self.bound.invoke(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 84, in invoke
return self(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 306, in __call__
raise e
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 300, in __call__
self._call(inputs, run_manager=run_manager)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/agent_executor.py", line 56, in _call
response = self.executor.step(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/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/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 506, in run
return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 308, in __call__
final_outputs: Dict[str, Any] = self.prep_outputs(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 404, in prep_outputs
self.memory.save_context(inputs, outputs)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/chat_memory.py", line 35, in save_context
input_str, output_str = self._get_input_output(inputs, outputs)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/chat_memory.py", line 22, in _get_input_output
prompt_input_key = get_prompt_input_key(inputs, self.memory_variables)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/utils.py", line 19, in get_prompt_input_key
raise ValueError(f"One input key expected got {prompt_input_keys}")
ValueError: One input key expected got ['current_step', 'previous_steps', 'input']
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.
Error in handle_issue_opened: One input key expected got ['previous_steps', 'input', 'current_step'] 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 99, 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 34, 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/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/schema/runnable/base.py", line 2316, in invoke
return self.bound.invoke(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 84, in invoke
return self(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 306, in __call__
raise e
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 300, in __call__
self._call(inputs, run_manager=run_manager)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/agent_executor.py", line 56, in _call
response = self.executor.step(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/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/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 506, in run
return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 308, in __call__
final_outputs: Dict[str, Any] = self.prep_outputs(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 404, in prep_outputs
self.memory.save_context(inputs, outputs)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/chat_memory.py", line 35, in save_context
input_str, output_str = self._get_input_output(inputs, outputs)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/chat_memory.py", line 22, in _get_input_output
prompt_input_key = get_prompt_input_key(inputs, self.memory_variables)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/memory/utils.py", line 19, in get_prompt_input_key
raise ValueError(f"One input key expected got {prompt_input_keys}")
ValueError: One input key expected got ['previous_steps', 'input', 'current_step']
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.
Error in handle_issue_opened: ZeroShotAgent does not support multi-input tool previous_webpage. 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
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 48, in make_agent
memory_agent = initialize_agent(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/agents/initialize.py", line 57, in initialize_agent
agent_obj = agent_cls.from_llm_and_tools(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/agents/mrkl/base.py", line 101, in from_llm_and_tools
cls._validate_tools(tools)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/agents/mrkl/base.py", line 125, in _validate_tools
validate_tools_single_input(cls.__name__, tools)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/agents/utils.py", line 10, in validate_tools_single_input
raise ValueError(
ValueError: ZeroShotAgent does not support multi-input tool previous_webpage.
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.
Error in handle_issue_opened: object of type 'PaginatedList' has no len() 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 99, 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/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/schema/runnable/base.py", line 2316, in invoke
return self.bound.invoke(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 84, in invoke
return self(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 306, in __call__
raise e
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 300, in __call__
self._call(inputs, run_manager=run_manager)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain_experimental/plan_and_execute/agent_executor.py", line 56, in _call
response = self.executor.step(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/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/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 506, in run
return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 306, in __call__
raise e
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/chains/base.py", line 300, in __call__
self._call(inputs, run_manager=run_manager)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/agents/agent.py", line 1141, in _call
next_step_output = self._take_next_step(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/agents/agent.py", line 991, in _take_next_step
observation = tool.run(
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/tools/base.py", line 364, in run
raise e
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/tools/base.py", line 336, in run
self._run(*tool_args, run_manager=run_manager, **tool_kwargs)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/tools/github/tool.py", line 32, in _run
return self.api_wrapper.run(self.mode, instructions)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/utilities/github.py", line 760, in run
return self.search_issues_and_prs(query)
File "/Users/minum/.pyenv/versions/3.10.13/envs/ai-ta-backend-310/lib/python3.10/site-packages/langchain/utilities/github.py", line 664, in search_issues_and_prs
max_items = min(5, len(search_result))
TypeError: object of type 'PaginatedList' has no len()
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.
Error in handle_issue_opened: 'MemoryManager' object has no attribute 'edit_memory' 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
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 48, in make_agent
memory_tools = memory.memory_tools()
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/memory.py", line 85, in memory_tools
func=self.edit_memory(key, content),
AttributeError: 'MemoryManager' object has no attribute 'edit_memory'
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.
Error in handle_issue_opened: Invalid key 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
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 48, in make_agent
memory_tools = memory.memory_tools()
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/memory.py", line 85, in memory_tools
func=self.edit_memory(key, content),
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/memory.py", line 66, in edit_memory
raise Exception("Invalid key")
Exception: Invalid key
commenting
as,dn
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.
Error in handle_issue_opened: [Errno 63] File name too long: '-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAo5d2cKzIFoo7vqpaJDTm8lyfJacLW7Vt7KFuwn8IpNxVATtk\nttVAo8f+vPWRbeFrsjLdReFW2ncyZ2myV6NWE0PlocX8eOsGvd8xoybIxE3xmp7Y\nYy6/zdG4sQ0oI5Qm/hIK/ZMUhee4d4RdlpIewczr7ziTMW++RFo060MR+2b0+kW/\nucErgApHGo2pc85wX1EomuUh+vPedQ6o8rFeG8/MZt1UAT4LpcDCYd2GnDnP/ciL\naHzF9MZEu/IagKJISm3vFpCXTKajq3Up4YflnfSg2C+l5844w4QKhf8P888fvNf3\nT0mK7/7sggjepUpMNlSDFPA+++KGjjQq3vTkrwIDAQABAoIBAEP5y91F7l5vUiQH\n5SzmTpCmq/qZTr7sxKBu8/cdkhnu8+NvKopOUm27zL33zFY8NOP2/rrqx4w/u1H9\nOX3xAPNAY0q1WhNklYiQFbAVjZcETEBTgNa1tj1vx67KKMOf7BPmq2pykzSQ9LW0\n6q6GSQF+hQsCFyeTpxv/371iQTaVB2PtNc8BeFMon5AoAyBbLwXsenI1Y5eV3ucd\nDGMAyPd9Pz4gxVTA9IK0YcWCSobQyNELWRe1zvFZtNjqfQoQCCHJ5/Demj7s0qtC\njSTDEiAkBawP4ESvFHukzVabTL1NARi37wdfoZqTx5/VyB5DJzKwBRog/Cr7aCTB\n2cARigECgYEAzX7eVi15ayA2ZKI+5fmv5XGRcsOkMhauIMOw08h6sjtQcuJ33bTt\nWD4Z2SYsVvK4fYAmbvw99E8LCOZJIiWYUDfJHYCPJdg8ImBpOdAixLKe7SGGhx2q\nQRlnQOtk/qM+hy9dhrB99vnWzFx6OCKcY8TOtpo4fDtj1PanYHxZLpcCgYEAy8wh\nrivMWGWIzcf0VeYhaAXbYex2lFHVUqDb/q2MmBhkXN6kmjHIpFRQ1W+yPR0QqupX\naWeXzMRVf1g5KJhIq38SOgU/m+Tbcu2Xl0Gsz129bl+FNNtxpNZlgIwUxZO1ArBw\ncKB2XF0jSq3arwu/mu0+R7ihSk92/kzaHbHrVakCgYEAshgH3SwgFKWgPmsWk/1n\nYjSg15OS1A4v7xlqQMF5BMq/GDIJrE3HfTik8jtRJjHJjornxDw7/WYbrCTYsQ1g\nCfWvCTCH30aeJzTjPUWTPGGJtv3dN3CQQ0ce43ae2sjjwglcxwRixw8UB50GF2x3\nmUfR1xOlbJWUGdeCi+545BUCgYAW1yT7MTtwuMhxT7Spn+Ykk2t3+Rl9HALNhOvD\nCk5UiX9ODUHjairzh+ObWC5gvQ4uKZ9sV8jikSqH4Cpfy1lxpwcy632qiiayJcC0\nmg61GuttIFV8jA+bis/LbWeykRBbYczoQoOhbGrVJtD4h1eNFIPDZATnoCpU6+YS\nJ+uZKQKBgQCQ1lcTEeZe5LAPJItdLkTIIkjthPgZlw+KnBl5CqmhknjoE4Ne6xYs\nZI0nHn1tKwRW/Hbe9KOjN+bWjb8j8C4YX+ABq/Q26QK+j7wY78N6r+Ve5tCu0yW9\n4sXo7SGECArXYEahE4oGZfRr1InSOoLIR3we50lTj9OackKXNWIB6w==\n-----END RSA PRIVATE KEY-----' 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 44, in make_agent
tools = get_tools()
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/tools.py", line 59, in get_tools
github = GitHubAPIWrapper() # type: ignore
File "pydantic/main.py", line 339, in pydantic.main.BaseModel.__init__
File "pydantic/main.py", line 1102, in pydantic.main.validate_model
File "/Users/minum/.pyenv/versions/ai-ta-backend-310/lib/python3.10/site-packages/langchain/utilities/github.py", line 59, in validate_environment
with open(github_app_private_key, "r") as f:
OSError: [Errno 63] File name too long: '-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAo5d2cKzIFoo7vqpaJDTm8lyfJacLW7Vt7KFuwn8IpNxVATtk\nttVAo8f+vPWRbeFrsjLdReFW2ncyZ2myV6NWE0PlocX8eOsGvd8xoybIxE3xmp7Y\nYy6/zdG4sQ0oI5Qm/hIK/ZMUhee4d4RdlpIewczr7ziTMW++RFo060MR+2b0+kW/\nucErgApHGo2pc85wX1EomuUh+vPedQ6o8rFeG8/MZt1UAT4LpcDCYd2GnDnP/ciL\naHzF9MZEu/IagKJISm3vFpCXTKajq3Up4YflnfSg2C+l5844w4QKhf8P888fvNf3\nT0mK7/7sggjepUpMNlSDFPA+++KGjjQq3vTkrwIDAQABAoIBAEP5y91F7l5vUiQH\n5SzmTpCmq/qZTr7sxKBu8/cdkhnu8+NvKopOUm27zL33zFY8NOP2/rrqx4w/u1H9\nOX3xAPNAY0q1WhNklYiQFbAVjZcETEBTgNa1tj1vx67KKMOf7BPmq2pykzSQ9LW0\n6q6GSQF+hQsCFyeTpxv/371iQTaVB2PtNc8BeFMon5AoAyBbLwXsenI1Y5eV3ucd\nDGMAyPd9Pz4gxVTA9IK0YcWCSobQyNELWRe1zvFZtNjqfQoQCCHJ5/Demj7s0qtC\njSTDEiAkBawP4ESvFHukzVabTL1NARi37wdfoZqTx5/VyB5DJzKwBRog/Cr7aCTB\n2cARigECgYEAzX7eVi15ayA2ZKI+5fmv5XGRcsOkMhauIMOw08h6sjtQcuJ33bTt\nWD4Z2SYsVvK4fYAmbvw99E8LCOZJIiWYUDfJHYCPJdg8ImBpOdAixLKe7SGGhx2q\nQRlnQOtk/qM+hy9dhrB99vnWzFx6OCKcY8TOtpo4fDtj1PanYHxZLpcCgYEAy8wh\nrivMWGWIzcf0VeYhaAXbYex2lFHVUqDb/q2MmBhkXN6kmjHIpFRQ1W+yPR0QqupX\naWeXzMRVf1g5KJhIq38SOgU/m+Tbcu2Xl0Gsz129bl+FNNtxpNZlgIwUxZO1ArBw\ncKB2XF0jSq3arwu/mu0+R7ihSk92/kzaHbHrVakCgYEAshgH3SwgFKWgPmsWk/1n\nYjSg15OS1A4v7xlqQMF5BMq/GDIJrE3HfTik8jtRJjHJjornxDw7/WYbrCTYsQ1g\nCfWvCTCH30aeJzTjPUWTPGGJtv3dN3CQQ0ce43ae2sjjwglcxwRixw8UB50GF2x3\nmUfR1xOlbJWUGdeCi+545BUCgYAW1yT7MTtwuMhxT7Spn+Ykk2t3+Rl9HALNhOvD\nCk5UiX9ODUHjairzh+ObWC5gvQ4uKZ9sV8jikSqH4Cpfy1lxpwcy632qiiayJcC0\nmg61GuttIFV8jA+bis/LbWeykRBbYczoQoOhbGrVJtD4h1eNFIPDZATnoCpU6+YS\nJ+uZKQKBgQCQ1lcTEeZe5LAPJItdLkTIIkjthPgZlw+KnBl5CqmhknjoE4Ne6xYs\nZI0nHn1tKwRW/Hbe9KOjN+bWjb8j8C4YX+ABq/Q26QK+j7wY78N6r+Ve5tCu0yW9\n4sXo7SGECArXYEahE4oGZfRr1InSOoLIR3we50lTj9OackKXNWIB6w==\n-----END RSA PRIVATE KEY-----'
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.
Error in handle_issue_opened: [Errno 63] File name too long: '-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAo5d2cKzIFoo7vqpaJDTm8lyfJacLW7Vt7KFuwn8IpNxVATtk\nttVAo8f+vPWRbeFrsjLdReFW2ncyZ2myV6NWE0PlocX8eOsGvd8xoybIxE3xmp7Y\nYy6/zdG4sQ0oI5Qm/hIK/ZMUhee4d4RdlpIewczr7ziTMW++RFo060MR+2b0+kW/\nucErgApHGo2pc85wX1EomuUh+vPedQ6o8rFeG8/MZt1UAT4LpcDCYd2GnDnP/ciL\naHzF9MZEu/IagKJISm3vFpCXTKajq3Up4YflnfSg2C+l5844w4QKhf8P888fvNf3\nT0mK7/7sggjepUpMNlSDFPA+++KGjjQq3vTkrwIDAQABAoIBAEP5y91F7l5vUiQH\n5SzmTpCmq/qZTr7sxKBu8/cdkhnu8+NvKopOUm27zL33zFY8NOP2/rrqx4w/u1H9\nOX3xAPNAY0q1WhNklYiQFbAVjZcETEBTgNa1tj1vx67KKMOf7BPmq2pykzSQ9LW0\n6q6GSQF+hQsCFyeTpxv/371iQTaVB2PtNc8BeFMon5AoAyBbLwXsenI1Y5eV3ucd\nDGMAyPd9Pz4gxVTA9IK0YcWCSobQyNELWRe1zvFZtNjqfQoQCCHJ5/Demj7s0qtC\njSTDEiAkBawP4ESvFHukzVabTL1NARi37wdfoZqTx5/VyB5DJzKwBRog/Cr7aCTB\n2cARigECgYEAzX7eVi15ayA2ZKI+5fmv5XGRcsOkMhauIMOw08h6sjtQcuJ33bTt\nWD4Z2SYsVvK4fYAmbvw99E8LCOZJIiWYUDfJHYCPJdg8ImBpOdAixLKe7SGGhx2q\nQRlnQOtk/qM+hy9dhrB99vnWzFx6OCKcY8TOtpo4fDtj1PanYHxZLpcCgYEAy8wh\nrivMWGWIzcf0VeYhaAXbYex2lFHVUqDb/q2MmBhkXN6kmjHIpFRQ1W+yPR0QqupX\naWeXzMRVf1g5KJhIq38SOgU/m+Tbcu2Xl0Gsz129bl+FNNtxpNZlgIwUxZO1ArBw\ncKB2XF0jSq3arwu/mu0+R7ihSk92/kzaHbHrVakCgYEAshgH3SwgFKWgPmsWk/1n\nYjSg15OS1A4v7xlqQMF5BMq/GDIJrE3HfTik8jtRJjHJjornxDw7/WYbrCTYsQ1g\nCfWvCTCH30aeJzTjPUWTPGGJtv3dN3CQQ0ce43ae2sjjwglcxwRixw8UB50GF2x3\nmUfR1xOlbJWUGdeCi+545BUCgYAW1yT7MTtwuMhxT7Spn+Ykk2t3+Rl9HALNhOvD\nCk5UiX9ODUHjairzh+ObWC5gvQ4uKZ9sV8jikSqH4Cpfy1lxpwcy632qiiayJcC0\nmg61GuttIFV8jA+bis/LbWeykRBbYczoQoOhbGrVJtD4h1eNFIPDZATnoCpU6+YS\nJ+uZKQKBgQCQ1lcTEeZe5LAPJItdLkTIIkjthPgZlw+KnBl5CqmhknjoE4Ne6xYs\nZI0nHn1tKwRW/Hbe9KOjN+bWjb8j8C4YX+ABq/Q26QK+j7wY78N6r+Ve5tCu0yW9\n4sXo7SGECArXYEahE4oGZfRr1InSOoLIR3we50lTj9OackKXNWIB6w==\n-----END RSA PRIVATE KEY-----' 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 44, in make_agent
tools = get_tools()
File "/Users/minum/Documents/NCSA/UIUC-Chatbot/ai-ta-backend/ai_ta_backend/agents/tools.py", line 59, in get_tools
github = GitHubAPIWrapper() # type: ignore
File "pydantic/main.py", line 339, in pydantic.main.BaseModel.__init__
File "pydantic/main.py", line 1102, in pydantic.main.validate_model
File "/Users/minum/.pyenv/versions/ai-ta-backend-310/lib/python3.10/site-packages/langchain/utilities/github.py", line 59, in validate_environment
with open(github_app_private_key, "r") as f:
OSError: [Errno 63] File name too long: '-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAo5d2cKzIFoo7vqpaJDTm8lyfJacLW7Vt7KFuwn8IpNxVATtk\nttVAo8f+vPWRbeFrsjLdReFW2ncyZ2myV6NWE0PlocX8eOsGvd8xoybIxE3xmp7Y\nYy6/zdG4sQ0oI5Qm/hIK/ZMUhee4d4RdlpIewczr7ziTMW++RFo060MR+2b0+kW/\nucErgApHGo2pc85wX1EomuUh+vPedQ6o8rFeG8/MZt1UAT4LpcDCYd2GnDnP/ciL\naHzF9MZEu/IagKJISm3vFpCXTKajq3Up4YflnfSg2C+l5844w4QKhf8P888fvNf3\nT0mK7/7sggjepUpMNlSDFPA+++KGjjQq3vTkrwIDAQABAoIBAEP5y91F7l5vUiQH\n5SzmTpCmq/qZTr7sxKBu8/cdkhnu8+NvKopOUm27zL33zFY8NOP2/rrqx4w/u1H9\nOX3xAPNAY0q1WhNklYiQFbAVjZcETEBTgNa1tj1vx67KKMOf7BPmq2pykzSQ9LW0\n6q6GSQF+hQsCFyeTpxv/371iQTaVB2PtNc8BeFMon5AoAyBbLwXsenI1Y5eV3ucd\nDGMAyPd9Pz4gxVTA9IK0YcWCSobQyNELWRe1zvFZtNjqfQoQCCHJ5/Demj7s0qtC\njSTDEiAkBawP4ESvFHukzVabTL1NARi37wdfoZqTx5/VyB5DJzKwBRog/Cr7aCTB\n2cARigECgYEAzX7eVi15ayA2ZKI+5fmv5XGRcsOkMhauIMOw08h6sjtQcuJ33bTt\nWD4Z2SYsVvK4fYAmbvw99E8LCOZJIiWYUDfJHYCPJdg8ImBpOdAixLKe7SGGhx2q\nQRlnQOtk/qM+hy9dhrB99vnWzFx6OCKcY8TOtpo4fDtj1PanYHxZLpcCgYEAy8wh\nrivMWGWIzcf0VeYhaAXbYex2lFHVUqDb/q2MmBhkXN6kmjHIpFRQ1W+yPR0QqupX\naWeXzMRVf1g5KJhIq38SOgU/m+Tbcu2Xl0Gsz129bl+FNNtxpNZlgIwUxZO1ArBw\ncKB2XF0jSq3arwu/mu0+R7ihSk92/kzaHbHrVakCgYEAshgH3SwgFKWgPmsWk/1n\nYjSg15OS1A4v7xlqQMF5BMq/GDIJrE3HfTik8jtRJjHJjornxDw7/WYbrCTYsQ1g\nCfWvCTCH30aeJzTjPUWTPGGJtv3dN3CQQ0ce43ae2sjjwglcxwRixw8UB50GF2x3\nmUfR1xOlbJWUGdeCi+545BUCgYAW1yT7MTtwuMhxT7Spn+Ykk2t3+Rl9HALNhOvD\nCk5UiX9ODUHjairzh+ObWC5gvQ4uKZ9sV8jikSqH4Cpfy1lxpwcy632qiiayJcC0\nmg61GuttIFV8jA+bis/LbWeykRBbYczoQoOhbGrVJtD4h1eNFIPDZATnoCpU6+YS\nJ+uZKQKBgQCQ1lcTEeZe5LAPJItdLkTIIkjthPgZlw+KnBl5CqmhknjoE4Ne6xYs\nZI0nHn1tKwRW/Hbe9KOjN+bWjb8j8C4YX+ABq/Q26QK+j7wY78N6r+Ve5tCu0yW9\n4sXo7SGECArXYEahE4oGZfRr1InSOoLIR3we50lTj9OackKXNWIB6w==\n-----END RSA PRIVATE KEY-----'
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.