carlrobertoh / CodeGPT

JetBrains extension providing access to state-of-the-art LLMs, such as GPT-4, Claude 3, Code Llama, and others, all for free
https://codegpt.ee
Apache License 2.0
911 stars 186 forks source link

Login to You.com no longer works #419

Open melan opened 4 months ago

melan commented 4 months ago

What happened?

They started demanding dfp_telemetry_id field as part of the password auth request to Stytch. It's a device fingerprint token, more here.

Without the field and the token it replies with 401 and fails the authentication with an error: DFP telemetry ID not set

Relevant log output or stack trace

No response

Steps to reproduce

Run Idea and maybe try to re-login.

CodeGPT version

2.5.1

Operating System

macOS

msokolovsky-appulate commented 3 months ago

image

carlrobertoh commented 2 months ago

The dfp_telemetry_id needs to be obtained from the You.com website and then must be passed into the Stytch request.

Screenshot 2024-05-09 at 11 58 59

However, since You.com doesn't provide an actual public API, I'm considering deleting this provider from CodeGPT entirely.

PhilKes commented 2 months ago

The dfp_telemetry_id needs to be obtained from the You.com website and then must be passed into the Stytch request.

Screenshot 2024-05-09 at 11 58 59

However, since You.com doesn't provide an actual public API, I'm considering deleting this provider from CodeGPT entirely.

Actually I found the API Endpoint to generate the dfp_telemetry_id in the source code for GetTelemetryID:

curl --location --request POST 'https://telemetry.stytch.com/submit'

It simply returns a UUID. I'm not sure if there are any optional parameters for the API since the compiled JS is quite messy to understand, but I think a publicToken can be provided. I also tried to find other project's leveraging You.com and found this PR in the gpt4free project: https://github.com/xtekky/gpt4free/pull/1794/files

They simply generate their own UUID and use that 🤷‍♂️

7zism3 commented 2 weeks ago

@carlrobertoh In the update "Jul 01, 2024 Version 2.8.2-241.1" You.com support has been removed. I think why don't we try to fix it as suggested by @PhilKes . I and some users who have registered you pro will be really unhappy, if it is discontinued

melan commented 2 weeks ago

You.com is working on the actual API but currently it's locked to business customers only. So maybe one day they will be back