JuchiaLu / Multi-Supplier-MT-Plugin

memoQ multi supplier machine translation plugin.(memoQ 多提供商机器翻译插件。)
MIT License
22 stars 6 forks source link

Claude API - Checked Fail! #9

Closed Saeedr85 closed 1 month ago

Saeedr85 commented 1 month ago

Capture

Saeedr85 commented 1 month ago

Dear Dev,

I wanted to express my sincere gratitude for creating this exceptional plugin. Your hard work and dedication are truly commendable.

I've obtained an API key from Anthropic and have attempted to implement it. Unfortunately, I've encountered difficulties in getting it to work. I was wondering if you might have any suggestions or troubleshooting tips to help resolve this issue?

Thank you for your time and assistance.

JuchiaLu commented 1 month ago

Since I don't have Claude's API Key, I can't confirm if my code implementation is correct. If possible, you could provide a temporary API Key to the email address I'll provide in my next comment. After I confirm the code implementation is correct, you can destroy it. In the next version, I'll add a feature to write error messages details to log file.

Saeedr85 commented 1 month ago

Done,

JuchiaLu commented 1 month ago

fixed

Claude Support Test.zip

Saeedr85 commented 1 month ago

Really thank you,

On Fri, Aug 9, 2024, 12:32 PM JuchiaLu @.***> wrote:

fixed

Claude Support Test.zip https://github.com/user-attachments/files/16559215/Claude.Support.Test.zip

— Reply to this email directly, view it on GitHub https://github.com/JuchiaLu/Multi-Supplier-MT-Plugin/issues/9#issuecomment-2277544865, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJPVYTYGWT2BUM3DWYRUJX3ZQSEBRAVCNFSM6AAAAABMHC23O6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZXGU2DIOBWGU . You are receiving this because you authored the thread.Message ID: @.***>

Saeedr85 commented 1 month ago

Can you add an external link for editting the prompt instantly out of the memoq interface.

JuchiaLu commented 1 month ago

Due to memoQ SDK limitations, the plugin cannot modify any memoQ GUI interface outside the configuration interface. You can install the plugin multiple times ("multi install"), with each plugin instance using a separate Prompt.

Saeedr85 commented 1 month ago

Thank you for the clarification.

On Fri, Aug 9, 2024, 12:46 PM JuchiaLu @.***> wrote:

Due to memoQ SDK limitations, the plugin cannot modify any memoQ GUI interface outside the configuration interface. You can install the plugin multiple times ("multi install"), with each plugin instance using a separate Prompt.

— Reply to this email directly, view it on GitHub https://github.com/JuchiaLu/Multi-Supplier-MT-Plugin/issues/9#issuecomment-2277570516, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJPVYTZSEBESB5APPN5B6YDZQSFYVAVCNFSM6AAAAABMHC23O6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZXGU3TANJRGY . You are receiving this because you authored the thread.Message ID: @.***>

JuchiaLu commented 1 month ago

Or have I misunderstood your meaning? You're not talking about modifying the memoQ GUI interface, but providing a separate, always-open GUI interface to modify the Prompt in real-time. If that's the case, it can be done.

Saeedr85 commented 1 month ago

Exactly, that is what I meant.

Saeedr85 commented 1 month ago

Unfortunately, The problem has not been solved. I can not add the API of Anthropic. Thanks for your assistance

JuchiaLu commented 1 month ago

I'm sure I've fixed it. Perhaps it's because you destroyed the previously saved API key and haven't used a new API key, or maybe you haven't overwritten the old plugin DLL file with the new one?

Saeedr85 commented 1 month ago

I have removed all the plugin files from the addins directory. The same error!

JuchiaLu commented 1 month ago

Please provide another temporary API key to my email address so I can test again to see what happened.

Saeedr85 commented 1 month ago

Done,

JuchiaLu commented 1 month ago

JuchiaLu commented 1 month ago

you can use this website check the new dll file MD5

Saeedr85 commented 1 month ago

I will check

Saeedr85 commented 1 month ago

5aa291309aca85fe47a97d58f93f3857 it is the same

Saeedr85 commented 1 month ago

Not work!

Saeedr85 commented 1 month ago

Shall I install any supporting libraries?

JuchiaLu commented 1 month ago

No, I only made minor changes to the code. I'm also confused why it can't pass the check.

Saeedr85 commented 1 month ago

I will try to remove the plugin completely, and reinstall it.

Saeedr85 commented 1 month ago

Worth to mention, Our country is blocked from using claude. So, i always use psiphon to access AI models.

Does this suggest a solution for the problem

JuchiaLu commented 1 month ago

Yes, Claude blocks API access from certain IPs, especially public IPs used by many people.

Saeedr85 commented 1 month ago

Kindly, Do you have any suggestions for solving this u

Saeedr85 commented 1 month ago

Kindly, Do you have any suggestions for solving this issue?

Saeedr85 commented 1 month ago

I have access to Anthropic site through VPN. While I get the error message when accessing to the API via the plugin! Is there something could be edited in the memoq's settings?

JuchiaLu commented 1 month ago

Depends on how your VPN works:

Saeedr85 commented 1 month ago

It works, I changed the settings to "Use System Settings"

Thank you very much