You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: refactor token usage and response creation logic
- Add import for `go-openai` package
- Refactor response creation to include detailed token usage if cached tokens are present
- Modify return statements to use the new `usage` variable for both `Completion` and `GetSummaryPrefix` functions
Signed-off-by: Bo-Yi Wu <[email protected]>
0 commit comments