sourcegraph / cody

AI that knows your entire codebase
https://cody.dev
Apache License 2.0
2.24k stars 213 forks source link

Use shared telemetry recorder in agent #4642

Closed pkukielka closed 1 week ago

pkukielka commented 1 week ago

Changes

We now have shared telemetry recorder which is properly configured when Cody is in agent mode. We should not create individual, separate one for direct agent calls.

Test plan

  1. Run Jetbrains clinet using current PR for Cody and this PR for Jetbrains
  2. Ask cody to generate some code, and then use button to copy it. Paste it somewhere in the code
  3. Using looker check if new events with proper names (copyButton.clicked:clicked, cody.keyDown:paste).