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 json:"metadata,omitempty" to RunRequest struct #561

Merged
merged 1 commit into from
Nov 12, 2023

Conversation

kb
Copy link
Contributor

@kb kb commented Nov 10, 2023

Metadata is an optional field per the api spec
https://platform.openai.com/docs/api-reference/runs/createRun

Copy link

codecov bot commented Nov 10, 2023

Codecov Report

Merging #561 (80661c1) into master (d6f3bdc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #561   +/-   ##
=======================================
  Coverage   98.22%   98.22%           
=======================================
  Files          22       22           
  Lines        1181     1181           
=======================================
  Hits         1160     1160           
  Misses         15       15           
  Partials        6        6           
Files Coverage Δ
run.go 100.00% <ø> (ø)

@kb kb mentioned this pull request Nov 10, 2023
@sashabaranov
Copy link
Owner

thank you!

@sashabaranov sashabaranov merged commit 35495cc into sashabaranov:master Nov 12, 2023
maerlyn5 pushed a commit to prassoai/go-openai that referenced this pull request Nov 22, 2023
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