smallcloudai / refact-vs-classic

Refact for Visual Studio is a free, open-source AI code assistant
BSD 3-Clause "New" or "Revised" License
13 stars 13 forks source link

No telemetry files after enabling option "Telemetry Code Snippets" #31

Open hazratisulton opened 9 months ago

hazratisulton commented 9 months ago

Enable option "Telemetry Code Snippets", then use completion. After closing IDE there is no telemetry files in user/.cache/refact/telemetry/

Versions: Refact plugin: v 0.0.2 Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.9.0

olegklimov commented 9 months ago

Hm, probably something super simple. We just need /snippet-accepted/ to robot-human score to work. Network telemetry should work even without robot-human, it's strange that it isn't.

digital-phoenix commented 8 months ago

@olegklimov can you clarify what the plugin needs to provide the server in order for network telemetry to work?

olegklimov commented 8 months ago

We need /snippet-accepted/ when the user accepts the grey text. The rest of it should just work, the same way as it works for other plugins. I didn't look into any details about this, I don't know why there are no files user/.cache/refact/telemetry/ , sure there should be.

Ah wait, there is --basic-telemetry flag, maybe that will help.

olegklimov commented 8 months ago

And --enduser-client-version, that has format "PLUGIN_VERSION/IDE_VERSION", for example "refact-2.0.119/vscode-1.87.0-insider"

olegklimov commented 8 months ago

(for sublime too)

guptadeepak8 commented 6 months ago

hey @olegklimov there is file user/.cache/refact/telemetry/

We need /snippet-accepted/ when the user accepts the grey text. The rest of it should just work, the same way as it works for other plugins. I didn't look into any details about this, I don't know why there are no files user/.cache/refact/telemetry/ , sure there should be.

Ah wait, there is --basic-telemetry flag, maybe that will help.

do we need to add this flag? like

args += "--enduser-client-version " + GetClientVersion() + " ";