Elffuss BraidHub

kikocis/continue public

feat: add agentinteraction dev data
Changeseted46f5b1432f4a86c01c93cdc92063f44db65d69ff4bc801ed242dd947efa33a
Authoruinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-05-23 11:27 +05:30
Committeruinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-05-23 11:27 +05:30
Parents6af5a28a34a5

Browse the files at this changeset

2 files changed

modified gui/src/redux/thunks/streamNormalInput.ts +1 −1
@@ -75,7 +75,7 @@
7575 try {
7676 if (state.session.mode === "chat" || state.session.mode === "agent") {
7777 extra.ideMessenger.post("devdata/log", {
78- name: "chatInteraction",
78+ name: state.session.mode === 'chat' ? "chatInteraction" : "agentInteraction",
7979 data: {
8080 prompt: next.value.prompt,
8181 completion: next.value.completion,
modified packages/config-yaml/src/schemas/data/index.ts +3 −0
@@ -72,6 +72,7 @@
7272 tokensGenerated: tokensGeneratedEventAllSchema,
7373 chatInteraction: chatInteractionEventAllSchema,
7474 editInteraction: editInteractionEventAllSchema,
75+ agentInteraction: chatInteractionEventAllSchema
7576 });
7677
7778 // Version and level specific schemas are organized here
@@ -97,6 +98,7 @@
9798 tokensGenerated: tokensGeneratedEventSchema_0_2_0,
9899 chatInteraction: chatInteractionEventSchema_0_2_0,
99100 editInteraction: editInteractionEventSchema_0_2_0,
101+ agentInteraction: chatInteractionEventSchema_0_2_0,
100102 },
101103 noCode: {
102104 autocomplete: autocompleteEventSchema_0_2_0_noCode,
@@ -104,6 +106,7 @@
104106 tokensGenerated: tokensGeneratedEventSchema_0_2_0_noCode,
105107 chatInteraction: chatInteractionEventSchema_0_2_0_noCode,
106108 editInteraction: editInteractionEventSchema_0_2_0_noCode,
109+ agentInteraction: chatInteractionEventSchema_0_2_0_noCode,
107110 },
108111 },
109112 };