voiio / Sam

Sam – cuz your company is nothing without Sam
https://code.voiio.de/Sam/
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

TypeError: sam.tools.create_github_issue() got multiple values for keyword argument 'title' #59

Closed sentry-io[bot] closed 5 months ago

sentry-io[bot] commented 5 months ago

This happened when I tried to put multiple tasks in one issue

My prompt:

image

Sentry Issue: VOIIO-SAM-E

TypeError: sam.tools.create_github_issue() got multiple values for keyword argument 'title'
  File "sam/slack.py", line 140, in process_run
    message_content = await bot.run(
  File "sam/bot.py", line 107, in run
    await complete_run(_run.id, thread_id, **context)
  File "sam/bot.py", line 30, in complete_run
    await complete_run(run_id, thread_id, retry=retry + 1, **context)
  File "sam/bot.py", line 59, in complete_run
    "output": fn(**kwargs, **context),

Task exception was never retrieved
future: <Task finished name='Task-18' coro=<process_run() done, defined at /app/sam/slack.py:107> exception=TypeError("sam.tools.create_github_issue() got multiple values for keyword argument 'title'")>