You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the GitHub search to try to find a similar issue and didn't find one.
I searched the Marvin documentation for this issue.
Bug summary
I've been attempting to utilize the capabilities of marvin.fn, but I'm not receiving the expected return results. It persistently spews out errors. Regardless of whether I alternate between different models, or test out the examples detailed in the README, nothing appears to function properly.
Reproduction
importmarvinmarvin.settings.log_verbose=Truemarvin.settings.log_level="DEBUG"marvin.settings.openai.chat.completions.model="gpt-4"@marvin.fndefadd(a: int, b: int) ->int:
""" Add two numbers together """print(add(1, 2))
I cannot reproduce this error on current marvin or 2.3.4, your example code works for me directly on my mac as well as a fresh python:3.12-slim container.
perhaps there was an outage with OpenAI when you were trying? does this error persist?
First check
Bug summary
I've been attempting to utilize the capabilities of
marvin.fn
, but I'm not receiving the expected return results. It persistently spews out errors. Regardless of whether I alternate between different models, or test out the examples detailed in the README, nothing appears to function properly.Reproduction
Error
Versions
Additional context
No response
The text was updated successfully, but these errors were encountered: