Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deep Cody: Allow toggle in UI & implement CodyChatMemory #6066

Merged
merged 21 commits into from
Nov 6, 2024

Commits on Nov 5, 2024

  1. Deep Cody: Use toggler in UI &iImplement CodyChatMemory

    - Introduce `CodyChatAgent` as the base class for managing chat agents
    - Implement `CodyChatMemory` to store and retrieve temporary chat context
    - Refactor `CodyToolProvider` to use a registry-based approach for managing tools
    - Add new tools like `MemoryTool` and `EditorTool`
    - Improve handling of OpenContext-based tools
    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    a0057c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c4018f View commit details
    Browse the repository at this point in the history
  3. Remove EditorTool

    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    1a0ee02 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5b25062 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    67d88f5 View commit details
    Browse the repository at this point in the history
  6. add backwards compatibility

    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    1a65274 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aa3d220 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c5ae1e3 View commit details
    Browse the repository at this point in the history
  9. add agent field to chat messages

    Add an `agent` field in chat messages. This allows for more flexibility in enabling different chat agents.
    
    The key changes are:
    
    - Added `agent` field to `ChatMessage` and `SerializedChatMessage` interfaces
    - Updated `ChatController` and webview components to use the `agent` field
    - Enabled Deep Cody context when the `agent` is set to `'deep-cody'`
    - Updated tests and other related code to reflect the new `agent` field
    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    4686b84 View commit details
    Browse the repository at this point in the history
  10. use agentID

    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    251c7e5 View commit details
    Browse the repository at this point in the history
  11. generate agent bindings

    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    54ff256 View commit details
    Browse the repository at this point in the history
  12. update style

    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    1c1d3d6 View commit details
    Browse the repository at this point in the history
  13. Update Toolbar.tsx

    Co-authored-by: Valery Bugakov <[email protected]>
    abeatrix and valerybugakov authored Nov 5, 2024
    Configuration menu
    Copy the full SHA
    9901f35 View commit details
    Browse the repository at this point in the history
  14. address val's feedback

    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    bdc29fc View commit details
    Browse the repository at this point in the history
  15. clean up

    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    8121aa1 View commit details
    Browse the repository at this point in the history
  16. Merge branch 'bee/deep-toggler' of https://github.com/sourcegraph/cody

    …into bee/deep-toggler
    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    6e1fc36 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5abe85d View commit details
    Browse the repository at this point in the history
  18. update switch style

    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    6c8ec9e View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    1043c53 View commit details
    Browse the repository at this point in the history
  20. handleToggleClick

    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    08aa902 View commit details
    Browse the repository at this point in the history
  21. use Button instead

    abeatrix committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    400e42b View commit details
    Browse the repository at this point in the history