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

tried running the tutorial openai code and returns an error #352

Open
palladiun opened this issue Jan 25, 2025 · 0 comments
Open

tried running the tutorial openai code and returns an error #352

palladiun opened this issue Jan 25, 2025 · 0 comments

Comments

@palladiun
Copy link

/usr/local/lib/python3.11/dist-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2:

  • 'fields' has been removed
    warnings.warn(message, UserWarning)

╭──────────────────────────────────────────────────── New run ────────────────────────────────────────────────────╮
│ │
│ Could you give me the 118th number in the Fibonacci sequence? │
│ │
╰─ LiteLLMModel - openai/o1-mini ─────────────────────────────────────────────────────────────────────────────────╯

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Step 0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Give Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new
LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.

Error in generating model output:
litellm.APIError: APIError: OpenAIException - Error code: 500 - {'error': {'message': 'The model produced invalid
content. Consider modifying your prompt if you are seeing this error persistently.', 'type': 'model_error',
'param': None, 'code': None}}

[Step 0: Duration 9.50 seconds]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant