From 140a023b13629fb515ad5c5194ecfd8cd6ad6083 Mon Sep 17 00:00:00 2001 From: Jia Ji Chen Date: Thu, 23 Nov 2023 07:28:29 +1000 Subject: [PATCH] Update OAI_CONFIG_LIST_sample (#655) * Update OAI_CONFIG_LIST_sample replace to api_base from base_url. api_base is the correct name, otherwise it will error with invalid URL * put base_url back, add a comment that "api_base" should be used for v0.1.x * fix typo * Update OAI_CONFIG_LIST_sample grammar fix Co-authored-by: Chi Wang --------- Co-authored-by: Li Jiang Co-authored-by: Chi Wang --- OAI_CONFIG_LIST_sample | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OAI_CONFIG_LIST_sample b/OAI_CONFIG_LIST_sample index 5e88adff20..5f79236a60 100644 --- a/OAI_CONFIG_LIST_sample +++ b/OAI_CONFIG_LIST_sample @@ -1,4 +1,5 @@ -// Please modify the content, remove this comment and rename this file to OAI_CONFIG_LIST to run the sample code. +// Please modify the content, remove these two lines of comment and rename this file to OAI_CONFIG_LIST to run the sample code. +// if using pyautogen v0.1.x with Azure OpenAI, please replace "base_url" with "api_base" (line 11 and line 18 below). Use "pip list" to check version of pyautogen installed. [ { "model": "gpt-4",