Skip to content

Differentiate types of chat interactions in the local telemetry data #5429

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

Open
2 tasks done
russellneville opened this issue Apr 29, 2025 · 2 comments · May be fixed by #5812
Open
2 tasks done

Differentiate types of chat interactions in the local telemetry data #5429

russellneville opened this issue Apr 29, 2025 · 2 comments · May be fixed by #5812
Assignees
Labels
area:chat Relates to chat interface good-first-issue Suggested issue for new contributors kind:enhancement Indicates a new feature request, imrovement, or extension priority:medium Indicates medium priority

Comments

@russellneville
Copy link

Validations

  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement

Problem

In the local telemetry feed, configured in the config.yaml data array, the current events supported are:
-autocomplete
-chatInteraction

Currently there are 3 types of chat interaction, chat, agent and edit. Please adjust the events such that the type of interaction is distinguishable.

@chezsmithy

Solution

Perhaps by differentiating the "eventName" value.

Current output looks like:
{"name": "chatInteraction", "data": {"timestamp": "2025-04-29T20:52:03.748Z", "userId": "", "userAgent": "Visual Studio Code/1.99.3 (Continue/1.1.29)", "selectedProfileId": "local", "eventName": "chatInteraction", "schema": "0.2.0", ...

@dosubot dosubot bot added area:chat Relates to chat interface kind:enhancement Indicates a new feature request, imrovement, or extension priority:medium Indicates medium priority labels Apr 29, 2025
@sestinj sestinj moved this to Todo in Issues and PRs Apr 30, 2025
@tomasz-stefaniak tomasz-stefaniak added good-first-issue Suggested issue for new contributors and removed "needs-triage" labels May 15, 2025
@tomasz-stefaniak
Copy link
Collaborator

If someone opens that PR we would get it reviewed and merged. I'm marking this as good-first-issue and tagging in @RomneyDa who knows our telemetry well.

@uinstinct uinstinct linked a pull request May 23, 2025 that will close this issue
@uinstinct
Copy link
Contributor

Currently there are 3 types of chat interaction, chat, agent and edit. Please adjust the events such that the type of interaction is distinguishable.

we already had chat interaction as chatInteraction.

we also had for edit as editInteraction

editInteraction example { name: 'editInteraction', data: { timestamp: '2025-05-23T06:14:22.868Z', userId: '', userAgent: 'Visual Studio Code/1.100.2 (Continue/1.1.38)', selectedProfileId: 'file:///Users/instinct/Desktop/continue/manual-testing-sandbox/.continue/assistants/sample-config.yaml', eventName: 'editInteraction', schema: '0.2.0', prompt: 'correct this function', completion: 'class Calculator {\n' + ' constructor() {\n' + ' this.result = 0;\n' + ' }\n' + '\n' + ' add(number) {\n' + ' this.result += number;\n' + ' return this;\n' + ' }\n' + ' subtract(number) {\n' + ' this.result -= number;\n' + ' return this;\n' + ' }\n' + '\n' + ' multiply(number) {\n' + ' this.result *= number;\n' + ' return this;\n' + ' }\n' + '\n' + ' divide(number) {\n' + ' if (number === 0) {\n' + ' throw new Error("Cannot divide by zero");\n' + ' }\n' + ' this.result /= number;\n' + ' return this;\n' + ' }\n' + '\n' + ' getResult() {\n' + ' return this.result;\n' + ' }\n' + '\n' + ' reset() {\n' + ' this.result = 0;\n' + ' return this;\n' + ' }\n' + '}\n', modelTitle: 'My GPT-4o', modelProvider: 'openai' }, schema: '0.2.0', level: 'all', profileId: 'file:///Users/instinct/Desktop/continue/manual-testing-sandbox/.continue/assistants/sample-config.yaml' }

#5812 adds agentInteraction for agent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:chat Relates to chat interface good-first-issue Suggested issue for new contributors kind:enhancement Indicates a new feature request, imrovement, or extension priority:medium Indicates medium priority
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

3 participants