Commit 97fa4d5
fix(knowledge): use .count from estimateTokenCount return value
estimateTokenCount returns a TokenEstimate object, not a number — access
.count so the integer token count is stored instead of an object.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 53624f3 commit 97fa4d5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
| 548 | + | |
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| |||
0 commit comments