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:
shern-point
2026-04-30 00:44:57 +08:00
parent bd41c8a90c
commit 78366afec5

View File

@@ -9,6 +9,7 @@ type StandardRequest struct {
ResponseModel string
Messages []any
HistoryText string
PromptTokenText string
CurrentInputFileApplied bool
ToolsRaw any
FinalPrompt string