Documentation
¶
Overview ¶
Package endpoint 解析和展开模型 API 的动态请求路径。
Index ¶
Constants ¶
View Source
const ( DefaultGeminiPath = "/v1beta/models/{model}:{action}" GenerateContent = "generateContent" StreamGenerateContent = "streamGenerateContent" )
Variables ¶
This section is empty.
Functions ¶
func GeminiPath ¶
GeminiPath 将映射后的模型和生成动作填入端点路径,保留配置中的查询参数。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.