jacksonzhang348

Results 3 comments of jacksonzhang348

ANTHROPIC_API_KEY is set to sk-or-v1-********** ANTHROPIC_API_BASE_URL is set to https://openrouter.ai/api/v1 当我设置了 env环境的 openrouter 的key 后报错下面错误, 应该是 openrouter 平台没有 /v1/messages/count_tokens api 导致。 至少不让client.messages.count_tokens 报错,或提供个降级方案 File "/Volumes/WD_BLACK/pythonpro/apps/svg_app/main.py", line 81, in sys.exit(main()) File...

> thanks [@JINO-ROHIT](https://github.com/JINO-ROHIT) , [@zhjuzi](https://github.com/zhjuzi) , I think [@jacksonzhang348](https://github.com/jacksonzhang348) is trying to calling anthropic using open router, could you try using example code:https://github.com/camel-ai/camel/blob/master/examples/models/openrouter_llama3.1_example%20.py to take a try? I think maybe...

> thanks [@JINO-ROHIT](https://github.com/JINO-ROHIT) , [@zhjuzi](https://github.com/zhjuzi) , I think [@jacksonzhang348](https://github.com/jacksonzhang348) is trying to calling anthropic using open router, could you try using example code:https://github.com/camel-ai/camel/blob/master/examples/models/openrouter_llama3.1_example%20.py to take a try? I think maybe...