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

Update OpenAPI file return struct #486

Merged
merged 14 commits into from
Sep 7, 2023

Conversation

NullpointerW
Copy link
Contributor

Describe the change
update OpenAPI file return struct, some filed was deprecated, present:

{
  "object": "file",
  "id": "file-KfhgZBjqaYRVoNsUtxJCAGRW",
  "purpose": "fine-tune",
  "filename": "file",
  "bytes": 811,
  "created_at": 1692775731,
  "status": "processed",
  "status_details": null
}

Describe your solution
delete Owner , add Status and StatusDetails in

Tests
passed

Additional context
nil

Issue: #XXXX

@codecov
Copy link

codecov bot commented Sep 4, 2023

Codecov Report

Merging #486 (61b318d) into master (25da859) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #486   +/-   ##
=======================================
  Coverage   97.30%   97.30%           
=======================================
  Files          18       18           
  Lines         780      780           
=======================================
  Hits          759      759           
  Misses         15       15           
  Partials        6        6           
Files Changed Coverage Δ
files.go 94.73% <ø> (ø)

@BrendanMartin
Copy link
Contributor

Bump. I need these new fields

@sashabaranov sashabaranov merged commit 3589837 into sashabaranov:master Sep 7, 2023
3 checks passed
mudler pushed a commit to mudler/LocalAI that referenced this pull request Sep 10, 2023
…#1022)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github.com/sashabaranov/go-openai](https://togithub.com/sashabaranov/go-openai)
| require | patch | `v1.15.1` -> `v1.15.2` |

---

### Release Notes

<details>
<summary>sashabaranov/go-openai
(github.com/sashabaranov/go-openai)</summary>

###
[`v1.15.2`](https://togithub.com/sashabaranov/go-openai/releases/tag/v1.15.2)

[Compare
Source](https://togithub.com/sashabaranov/go-openai/compare/v1.15.1...v1.15.2)

#### What's Changed

- Update OpenAPI file return struct by
[@&#8203;NullpointerW](https://togithub.com/NullpointerW) in
[sashabaranov/go-openai#486

**Full Changelog**:
sashabaranov/go-openai@v1.15.1...v1.15.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/go-skynet/LocalAI).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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

3 participants