Skip to content

All actions are retrieved on each agent cycle #5

Closed

Description

@zfoong

Action router selects all actions in each agent cycle (top_k > 50). This caused large token usage and slow down inference speed.
The reason top_k is set to cover all actions now is that the query passed to chromadb is incorrect (using the trigger description, which does not have any semantic meaning to the action required).

Query/keyword rewrite to search for action can be a good solution to query for the correct actions, without having to retrieve all actions. Also, this way we can have more actions in our database.

Activity

  1. added
    bugSomething isn't working
    ImprovementOptimization and improvement over existing feature
    on Dec 2, 2025
  2. self-assigned this
    on Dec 22, 2025
  3. zfoong commented on Dec 26, 2025

    @zfoong
    CollaboratorAuthor

    Updated in v0.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ImprovementOptimization and improvement over existing featurebugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions