- Update ScanTokens function to utilize ScanCallbackParams for improved clarity and structure in token processing. - Modify ClearToken method to accept an ID parameter, enhancing token stack management. - Refactor GenerateWithAI and streamChat methods to leverage new token handling features, improving message flow and context. - Introduce BeginAt and EndAt fields in message processing for better timing accuracy. |
||
|---|---|---|
| .. | ||
| contents.go | ||
| message.go | ||