mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-13 03:43:44 +08:00
feat: add session/prefix cache for doubao
This commit is contained in:
@@ -31,6 +31,7 @@ type Meta struct {
|
||||
RequestURLPath string
|
||||
PromptTokens int // only for DoResponse
|
||||
SystemPrompt string
|
||||
Cache bool
|
||||
}
|
||||
|
||||
func GetByContext(c *gin.Context) *Meta {
|
||||
|
||||
Reference in New Issue
Block a user