Skip to content

Conversation

@iamEvanYT
Copy link
Member

This PR enhances the Command Hub with the following improvements:

  • Add frecency-based filtering for commands

    • Commands are ranked by both frequency and recency of use
    • Uses a 7-day half-life for recency scoring
    • Maintains separate scores for each command/extension
  • Use built-in Spotter filtering system

    • Integrates with SpotterListData filter functionality
    • Combines search relevance with frecency scoring
    • Ensures all matching commands are accessible
  • Improve list behavior

    • Remove auto-selection when no matches found
    • Make selection behavior more predictable
    • Limit to 75 items for better performance
  • Technical improvements

    • Add proper typing for spotter.frecency API
    • Store frecency data on backend
    • Update scores in real-time after command execution

openhands-agent and others added 2 commits December 12, 2024 17:00
…ehavior

- Add frecency-based filtering for commands
- Use built-in Spotter filtering system
- Remove auto-selection when no matches found
- Limit to 75 items for performance
- Add proper spotter.frecency API typing
@iamEvanYT iamEvanYT merged commit c1e0fd8 into main Dec 13, 2024
@iamEvanYT iamEvanYT deleted the enhance-command-hub-frecency branch December 13, 2024 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants