Skip to content

Correct field alias types for OpenAI extension#5257

Merged
oobabooga merged 1 commit into
oobabooga:devfrom
samuel-weinhardt:main
Jan 14, 2024
Merged

Correct field alias types for OpenAI extension#5257
oobabooga merged 1 commit into
oobabooga:devfrom
samuel-weinhardt:main

Conversation

@samuel-weinhardt
Copy link
Copy Markdown
Contributor

@samuel-weinhardt samuel-weinhardt commented Jan 14, 2024

Fixes #5255

alias parameter only accepts str | None: https://docs.pydantic.dev/latest/api/fields/

Checklist:

@samuel-weinhardt samuel-weinhardt changed the title Correct field alises types for OpenAI extension Correct field alias types for OpenAI extension Jan 14, 2024
@oobabooga oobabooga merged commit 952a05a into oobabooga:dev Jan 14, 2024
oobabooga added a commit that referenced this pull request Jan 14, 2024
PoetOnTheRun pushed a commit to PoetOnTheRun/text-generation-webui that referenced this pull request Feb 22, 2024
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

Successfully merging this pull request may close these issues.

2 participants