Closed sangee2004 closed 1 month ago
@sangee2004 Since this is no longer possible given you can't run scripts not created by the UI do you still see issues here?
I don't think this is an issue anymore. In the desktop app, I created a new assistant and gave it access to this test tool I made: https://github.com/g-linville/anthropic-test
When it calls the test tool, it runs the Anthropic provider without any issues.
Tested with electron app - Version 0.10.0-rc3
I am able to chat with claude provider following these steps.
I am seeing this issue with other threads getting to a bad state which is tracked in https://github.com/gptscript-ai/desktop/issues/161
gptscript version - v0.0.0-dev-a5a0538d-dirty
Scenario 1: Pre Req
sys.openai
credential.Steps to reproduce the problem:
ui
-DISABLE_CACHE=true gptscript --ui internet_chat_claude.gpt
Following error in seen:
Note : Running the script using TUI works as expected -
gptscript --disable-cache internet_chat_claude.gpt
Scenario 2:
Pre Req In my case I dont have gcloud authentication setup , so using github.com/gptscript-ai/gemini-vertexai-provider would fail. Have a valid openai key set in
sys.openai
creds.Steps to reproduce the problem:
gptscript --disable-cache --default-model 'gemini-1.0-pro from github.com/gptscript-ai/gemini-vertexai-provider' --ui internet_chat.gpt
There is no response and following error in seen in ui console
Note - The same script when executed from TUI succeeds as expected -
gptscript --disable-cache --default-model 'gemini-1.0-pro from github.com/gptscript-ai/gemini-vertexai-provider' internet_chat.gpt