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

Validation error for ChatMistralAI: top_p should be a valid number #4755

Open
suhaibmujahid opened this issue Jan 17, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@suhaibmujahid
Copy link
Member

  File "/Users/smujahid/repos/review-helper-addon/venv/lib/python3.11/site-packages/bugbug/generative_model_tool.py", line 73, in create_mistral_llm
    return ChatMistralAI(
           ^^^^^^^^^^^^^^
  File "/Users/smujahid/repos/review-helper-addon/venv/lib/python3.11/site-packages/langchain_core/load/serializable.py", line 125, in __init__
    super().__init__(*args, **kwargs)
  File "/Users/smujahid/repos/review-helper-addon/venv/lib/python3.11/site-packages/pydantic/main.py", line 212, in __init__
    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 1 validation error for ChatMistralAI
top_p
  Input should be a valid number [type=float_type, input_value=None, input_type=NoneType]
    For further information visit https://errors.pydantic.dev/2.9/v/float_type
@suhaibmujahid suhaibmujahid added the bug Something isn't working label Jan 17, 2025
@suhaibmujahid suhaibmujahid self-assigned this Jan 17, 2025
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