Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: Invalid arguments for tool send_email, cancelling run run_3j74LEJf4OXmAqGvEdmMuGqw #107

Open
sentry-io bot opened this issue Jun 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Jun 17, 2024

Sentry Issue: VOIIO-SAM-8

JSONDecodeError: Invalid control character at: line 4 column 28 (char 137)
  File "sam/bot.py", line 93, in call_tools
    kwargs = json.loads(tool_call.function.arguments)
  File "__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)

OSError: Invalid arguments for tool send_email, cancelling run run_3j74LEJf4OXmAqGvEdmMuGqw
(3 additional frame(s) were not displayed)
...
  File "sam/slack.py", line 162, in send_response
    text_response = await bot.execute_run(
  File "sam/bot.py", line 164, in execute_run
    await complete_run(run.id, thread_id, **context)
  File "sam/bot.py", line 58, in complete_run
    await complete_run(run_id, thread_id, retry=retry + 1, **context)
  File "sam/bot.py", line 60, in complete_run
    await call_tools(run, **context)
  File "sam/bot.py", line 98, in call_tools
    raise OSError(

Failed to run listener function (error: Invalid arguments for tool send_email, cancelling run run_3j74LEJf4OXmAqGvEdmMuGqw)
@sentry-io sentry-io bot added the bug Something isn't working label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant