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

Add default system_fingerprint to completion create response fixture #310

Conversation

elliotmassen
Copy link

What:

  • Bug Fix
  • New Feature

Description:

This PR continues from #308 by also adding the system_fingerprint field to the Completions fixture and CreateResponse class. This allows the field to be set via the CreateResponse.fake method, which has been included in the "fake with override" Completion's test.

Related:

@gehrisandro
Copy link
Collaborator

Hi @elliotmassen

Thank you for your PR, but it looks like this field is not included in a completion response.

I know, the OpenAI docs says, that it should be included, but I was not able to see this field in a test request and I don't think OpenAI has actually added it, as the completion API is already deprecated.

Have you an evidence, that there actually is a system_fingerprint field in the response?

@gehrisandro
Copy link
Collaborator

Closed due to inactivity. Feel free to open a new PR.

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.

None yet

2 participants