mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-04 16:35:27 +08:00
feat: add PromptTokenText to StandardRequest
Track a dedicated prompt string for token accounting so later prompt rewrites can keep returning full-context counts.
This commit is contained in:
@@ -9,6 +9,7 @@ type StandardRequest struct {
|
||||
ResponseModel string
|
||||
Messages []any
|
||||
HistoryText string
|
||||
PromptTokenText string
|
||||
CurrentInputFileApplied bool
|
||||
ToolsRaw any
|
||||
FinalPrompt string
|
||||
|
||||
Reference in New Issue
Block a user