Skip to content

Commit 1b1cfaf

Browse files
authored
Update FAQ.md with api_base vs base_url question (#672)
added a faq for api_base vs base_url because people were asking about it frequently.
1 parent 370ebf5 commit 1b1cfaf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

website/docs/FAQ.md

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ You can also explicitly specify that by:
2929
assistant = autogen.AssistantAgent(name="assistant", llm_config={"api_key": ...})
3030
```
3131

32+
### Unexpected keyword argument 'base_url'
33+
34+
In version >=1, OpenAI renamed their `api_base` parameter to `base_url`. So for older versions, use `api_base` but for newer versions use `base_url`.
35+
3236
### Can I use non-OpenAI models?
3337

3438
Yes. Please check https://microsoft.github.io/autogen/blog/2023/07/14/Local-LLMs for an example.

0 commit comments

Comments
 (0)