-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed as duplicate of#6112
Labels
Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.New issue. Needs quick review to confirm validity and assign labels.bugSomething isn't workingSomething isn't working
Description
App Version
3.24.0
API Provider
VS Code Language Model API
Model Used
copilot - gpt-4.1
Roo Code Task Links (Optional)
No response
π Steps to Reproduce
Select "VS Code LM API", then choose "copilot - gpt-4.1". First, send a message saying "hi", at which point the context size will increase to just over 8k. Then, drag and drop some files into the dialog box to send them, and you'll notice that the context changes very little.
π₯ Outcome Summary
expected to correctly calculate the context size, but apart from the system prompt being accurately accounted for, the conversation content has very little impact on the context size.
π Relevant Logs or Errors (Optional)
The updated VS Code's countTokens takes LanguageModelChatMessage2 rather than LanguageModelChatMessage.Metadata
Metadata
Assignees
Labels
Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.New issue. Needs quick review to confirm validity and assign labels.bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done