I encountered an error while using the Sweep service. The following traceback was generated during the execution:
Exception in thread Thread-1 (run_on_ticket):
Traceback (most recent call last):
File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/app/sweepai/api.py", line 113, in run_on_ticket
return on_ticket(*args, **kwargs, tracking_id=tracking_id)
File "/app/sweepai/chat/api.py", line 200, in wrapper
raise e
File "/app/sweepai/chat/api.py", line 193, in wrapper
result = function(
File "/app/sweepai/handlers/on_ticket.py", line 729, in on_ticket
raise e
File "/app/sweepai/handlers/on_ticket.py", line 508, in on_ticket
raise e
File "/app/sweepai/handlers/on_ticket.py", line 425, in on_ticket
for message, repo_context_manager in fetch_relevant_files.stream(
TypeError: fetch_relevant_files() got multiple values for argument 'images'
Steps to Reproduce
Trigger a ticket with an issue that requires Sweep to process it.
Monitor the logs for the execution of on_ticket.
Observe the error that occurs regarding fetch_relevant_files.
Expected Behavior
The Sweep service should properly handle the processing of tickets without raising a TypeError.
Actual Behavior
The service raises a TypeError, indicating that the function fetch_relevant_files() is receiving multiple values for the argument 'images'.
❌ Unable to Complete PR
It looks like an issue has occurred around fetching the files. The exception was fetch_relevant_files() got multiple values for argument 'images'. tracking_id=0b36b8cc78
Additional Context
Please let me know if you need further information or if there are specific logs or configurations that could assist in diagnosing the issue.
Description
I encountered an error while using the Sweep service. The following traceback was generated during the execution:
Steps to Reproduce
on_ticket
.fetch_relevant_files
.Expected Behavior
The Sweep service should properly handle the processing of tickets without raising a TypeError.
Actual Behavior
The service raises a
TypeError
, indicating that the functionfetch_relevant_files()
is receiving multiple values for the argument 'images'.❌ Unable to Complete PR
It looks like an issue has occurred around fetching the files. The exception was fetch_relevant_files() got multiple values for argument 'images'. tracking_id=0b36b8cc78
Additional Context
Please let me know if you need further information or if there are specific logs or configurations that could assist in diagnosing the issue.
Thank you for your assistance!