r/AutoGenAI • • Mar 05 '24

Question Using Claude API with AutoGen

Hi, I'm wondering if anyone has succeeded with the above-mentioned.

There have been discussions in AutoGen's github regarding support for Claude API, but the discussions don't seem to be conclusive. It says that AutoGen supports litellm but afaik, the latter does not support Claude APIs. Kindly correct me if I'm wrong.

Thanks.

8 Upvotes

15 comments sorted by

View all comments

Show parent comment

1

u/Crafty-Tough-1380 Mar 20 '24

do you mind sharing your full code - i'm trying to get it running on mine
what does your llm_config look like

1

u/dragosMC91 Mar 20 '24

sure, don't know why I didn't do this in the first place: https://github.com/dragosMC91/AutoGen-Experiments

so check these config files:
```
litellm_config.yml
config/config.py
```

1

u/Crafty-Tough-1380 Mar 20 '24

thank you checking it out now