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
Is your feature request related to a problem? Please describe.
Pydantic includes a URL by default to look up more information on the error which isn't useful for the LLM and also takes up token space.
1 validation error for Boop
name
Value error, 'bla' is not a valid boop. [type=value_error, input_value='bla', input_type=str]
For further information visit https://errors.pydantic.dev/2.6/v/value_error
Describe the solution you'd like
It'd be nice to have more control over what happens here. Pydantic let's you dump the errors if you catch the exception via errors( and then specify include_url. It feels like the default should be to not include that.
Describe alternatives you've considered
Just giving more control over the reask flow could let people solve this themselves.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Pydantic includes a URL by default to look up more information on the error which isn't useful for the LLM and also takes up token space.
Describe the solution you'd like
It'd be nice to have more control over what happens here. Pydantic let's you dump the errors if you catch the exception via
errors(
and then specifyinclude_url
. It feels like the default should be to not include that.Describe alternatives you've considered
Just giving more control over the reask flow could let people solve this themselves.
The text was updated successfully, but these errors were encountered: