Execute script using anthropic provider - gptscript --default-model 'claude-3-opus-20240229 from github.com/gptscript-ai/anthropic-provider' examples/bob.gpt
When prompted for entering Anthropic API token, enter a valid token.
Execution fails with - invalid character 'd' looking for beginning of value
gptscript --default-model 'claude-3-opus-20240229 from github.com/gptscript-ai/anthropic-provider' examples/bob.gpt
14:16:39 WARNING: Changing the default model can have unknown behavior for existing tools. Use the model field per tool instead.
14:16:40 started [main]
14:16:40 started [provider: https://raw.githubusercontent.com/gptscript-ai/anthropic-provider/3b9b9365d469c4c702291f1764537ab5c226c2e0/tool.gpt:Anthropic Claude3 Model Provider]
14:16:40 started [credential: github.com/gptscript-ai/claude3-anthropic-provider/credential]
14:16:40 sent [credential: github.com/gptscript-ai/claude3-anthropic-provider/credential]
? Please enter your Anthropic API token. ************************************************************************************************************
14:17:21 ended [credential: github.com/gptscript-ai/claude3-anthropic-provider/credential]
14:17:21 launched [Anthropic Claude3 Model Provider][https://raw.githubusercontent.com/gptscript-ai/anthropic-provider/3b9b9365d469c4c702291f1764537ab5c226c2e0/tool.gpt:Anthropic Claude3 Model Provider] port [10954] [/opt/homebrew/bin/gptscript sys.daemon /usr/bin/env python3 /Users/sangeethahariharan/Library/Caches/gptscript/repos/3b9b9365d469c4c702291f1764537ab5c226c2e0/tool.gpt/python3.12/main.py]
14:17:22 ended [provider: https://raw.githubusercontent.com/gptscript-ai/anthropic-provider/3b9b9365d469c4c702291f1764537ab5c226c2e0/tool.gpt:Anthropic Claude3 Model Provider] [output=http://127.0.0.1:10954]
14:17:22 sent [main]
2024/06/18 14:17:25 invalid character 'd' looking for beginning of value
gptscript version v0.8.2+1b5e068f
Steps to reproduce the problem:
Execute script using anthropic provider -
gptscript --default-model 'claude-3-opus-20240229 from github.com/gptscript-ai/anthropic-provider' examples/bob.gpt
When prompted for entering Anthropic API token, enter a valid token.
Execution fails with -
invalid character 'd' looking for beginning of value