Skip to content

Commit 01634ea

Browse files
authored
Merge pull request #2 from messari/js/add-litellm-prefix-filling
Add LiteLLM prefix filling fields
2 parents 8e5611c + 6bd4763 commit 01634ea

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,14 @@
1-
A similar PR may already be submitted!
2-
Please search among the [Pull request](https://github.com/sashabaranov/go-openai/pulls) before creating one.
3-
4-
If your changes introduce breaking changes, please prefix the title of your pull request with "[BREAKING_CHANGES]". This allows for clear identification of such changes in the 'What's Changed' section on the release page, making it developer-friendly.
5-
6-
Thanks for submitting a pull request! Please provide enough information so that others can review your pull request.
7-
81
**Describe the change**
9-
Please provide a clear and concise description of the changes you're proposing. Explain what problem it solves or what feature it adds.
2+
<!-- Please provide a clear and concise description of the changes you're proposing. Explain what problem it solves or what feature it adds. -->
103

114
**Provide OpenAI documentation link**
12-
Provide a relevant API doc from https://platform.openai.com/docs/api-reference
5+
<!-- Provide a relevant API doc from https://platform.openai.com/docs/api-reference -->
136

147
**Describe your solution**
15-
Describe how your changes address the problem or how they add the feature. This should include a brief description of your approach and any new libraries or dependencies you're using.
8+
<!-- Describe how your changes address the problem or how they add the feature. This should include a brief description of your approach and any new libraries or dependencies you're using. -->
169

1710
**Tests**
18-
Briefly describe how you have tested these changes. If possible — please add integration tests.
11+
<!-- Briefly describe how you have tested these changes. If possible — please add integration tests. -->
1912

2013
**Additional context**
21-
Add any other context or screenshots or logs about your pull request here. If the pull request relates to an open issue, please link to it.
22-
23-
Issue: #XXXX
14+
<!-- Add any other context or screenshots or logs about your pull request here. If the pull request relates to an open issue, please link to it. -->

messages.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ type Message struct {
2424
Metadata map[string]any `json:"metadata"`
2525

2626
httpHeader
27+
28+
// Messari custom fields
29+
Prefix bool `json:"prefix"`
2730
}
2831

2932
type MessagesList struct {

0 commit comments

Comments
 (0)