Skip to content

Conversation

@AlienKevin
Copy link

This PR changes finish_reason in esurge to default to "stop". Otherwise, /v1/completion requests throw a pydantic Exception since the current default "finished" is not a valid option:

finish_reason: tp.Literal["stop", "length", "function_call"] | None = None

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.

1 participant