Replies: 1 comment
-
Hi @nhtkid. The name of the first parameter to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Many of the notebook example had the following configuration:
config_list_gpt4 = autogen.config_list_from_json( "OAI_CONFIG_LIST", filter_dict={ "model": ["gpt-4-32k", "gpt-4-32k-0314", "gpt-4-32k-v0314"], }, )
Isn't that suppose to be:
config_list_gpt4 = autogen.config_list_from_json( env_or_file="OAI_CONFIG_LIST", filter_dict={ "model": ["gpt-4-32k", "gpt-4-32k-0314", "gpt-4-32k-v0314"], }, )
As someone with no coding experience, I have spent lots of time wondering why my env wouldn't be recognized. Finally I stumbled to the last notebook and discovered the missing code.
Once I used
env_or_file="OAI_CONFIG_LIST"
, my env started working in both Colab and VSCode.Is I am missing something here, please let me know.
Thanks all.
Beta Was this translation helpful? Give feedback.
All reactions