Closed sangee2004 closed 1 month ago
Looks like there is a tool in the list that does not define a 'type' field for one of its properties. GPTScript typically sets 'string' as the type for all of its tools, so this wouldn't have been an issue before. Anthropic requires this field. We can force it to 'string' in the provider, but obviously the effectiveness of that may vary.
This is ready to test again.
This issue is not seen anymore.
Able to work with Digital Ocean agent using Anthropic providers - gptscript --default-model 'claude-3-5-sonnet-20240620 from github.com/gptscript-ai/claude3-anthropic-provider' --debug github.com/gptscript-ai/digital-ocean-agent
gptscript version -
v0.0.0-dev-51fd2b32-dirty
Steps to reproduce the problem:
Execute
digital-ocean-agent
with anthropic provider -gptscript --default-model 'claude-3-5-sonnet-20240620 from github.com/gptscript-ai/claude3-anthropic-provider' --debug github.com/gptscript-ai/digital-ocean-agent
( Make sure to test without--disable-cache
to avoid encountering - https://github.com/gptscript-ai/gptscript/issues/576Script errors out with - "500 Internal Server Error"
Debug logs: