Closed inestyne closed 9 months ago
Sorry this was bad code, it works just fine, here's the proper autogen test code:
from autogen import AssistantAgent, UserProxyAgent
llm_config_gemini = {
"config_list": [
{
"model": "gpt-4",
"api_key": "***"
"base_url": "http://localhost:8080/v1",
}
]
}
assistant = AssistantAgent("assistant", llm_config=llm_config_gemini)
user_proxy = UserProxyAgent("user_proxy", human_input_mode="TERMINATE", code_execution_config={"work_dir": "coding", "use_docker": False})
user_proxy.initiate_chat(assistant, message="Plot a chart of top performingi blue chip stock price change YTD use dark mode")
Chat completions work fine from PostMan so it's working perfectly.
Autogen is getting a 400 error.
Error: