Skip to content

Commit 0b7f952

Browse files
authored
Add links in openai request format (#1757)
1 parent 6f84d17 commit 0b7f952

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/epp/scheduling/types/types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ func (r *LLMRequestBody) CacheSalt() string {
7171
return r.Completions.CacheSalt
7272
}
7373

74-
// CompletionsRequest is a structured representation of the fields we parse out of the
75-
// /v1/completions request body.
74+
// CompletionsRequest is a structured representation of the fields we parse out of the /v1/completions request
75+
// body. For detailed body fields, please refer to https://platform.openai.com/docs/api-reference/completions.
7676
// This struct includes fields usable for plugins and scheduling decisions - and not the entire
7777
// API spec.
7878
type CompletionsRequest struct {
@@ -90,8 +90,8 @@ func (r *CompletionsRequest) String() string {
9090
return fmt.Sprintf("{PromptLength: %d}", len(r.Prompt))
9191
}
9292

93-
// ChatCompletionsRequest is a structured representation of the fields we parse out of the
94-
// /v1/chat/completions request body.
93+
// ChatCompletionsRequest is a structured representation of the fields we parse out of the v1/chat/completions
94+
// request body. For detailed body fields, please refer to https://platform.openai.com/docs/api-reference/chat.
9595
// This struct includes fields usable for plugins and scheduling decisions - and not the entire
9696
// API spec.
9797
type ChatCompletionsRequest struct {

0 commit comments

Comments
 (0)