From 8396ecbc23815c4f3b642c12d6c7f7040031d454 Mon Sep 17 00:00:00 2001 From: learner0810 Date: Wed, 22 Oct 2025 10:25:54 +0800 Subject: [PATCH] Add links in openai request format --- pkg/epp/scheduling/types/types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/epp/scheduling/types/types.go b/pkg/epp/scheduling/types/types.go index 1f9cade5d..6f9bec8ad 100644 --- a/pkg/epp/scheduling/types/types.go +++ b/pkg/epp/scheduling/types/types.go @@ -71,8 +71,8 @@ func (r *LLMRequestBody) CacheSalt() string { return r.Completions.CacheSalt } -// CompletionsRequest is a structured representation of the fields we parse out of the -// /v1/completions request body. +// CompletionsRequest is a structured representation of the fields we parse out of the /v1/completions request +// body. For detailed body fields, please refer to https://platform.openai.com/docs/api-reference/completions. // This struct includes fields usable for plugins and scheduling decisions - and not the entire // API spec. type CompletionsRequest struct { @@ -90,8 +90,8 @@ func (r *CompletionsRequest) String() string { return fmt.Sprintf("{PromptLength: %d}", len(r.Prompt)) } -// ChatCompletionsRequest is a structured representation of the fields we parse out of the -// /v1/chat/completions request body. +// ChatCompletionsRequest is a structured representation of the fields we parse out of the v1/chat/completions +// request body. For detailed body fields, please refer to https://platform.openai.com/docs/api-reference/chat. // This struct includes fields usable for plugins and scheduling decisions - and not the entire // API spec. type ChatCompletionsRequest struct {