Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "openai-v1-models"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateModelDisplayName ¶
func GenerateModelDisplayName(model *richclientpb.RichModel) string
func New ¶
func New(_ json.RawMessage) (reverseproxy.Filter, error)
Types ¶
type Filter ¶
type Filter struct { }
func (*Filter) OnRequest ¶
func (f *Filter) OnRequest(ctx context.Context, w http.ResponseWriter, infor reverseproxy.HttpInfor) (signal reverseproxy.Signal, err error)
Click to show internal directories.
Click to hide internal directories.