Skip to content

Task display of max context window broken with ollama #7674

@ItsOnlyBinary

Description

@ItsOnlyBinary

App Version

v3.26.6

API Provider

Ollama

Model Used

qwen2.5-coder:14b

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

  • Start chatting with ollama
  • In Task Header you will see tokens usage as: used/1

💥 Outcome Summary

Appears it was broken in #4314

info is always undefined here:

const info = routerModels.ollama && routerModels.ollama[id]

I'm not sure if this is also effecting the auto trimming, as I've had it over run the context window and been trimmed by ollama.

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions