Update multi_agent.py
Browse files- multi_agent.py +3 -13
multi_agent.py
CHANGED
|
@@ -41,22 +41,12 @@ def get_latest_file(directory, file_extension):
|
|
| 41 |
|
| 42 |
def run_multi_agent(llm, task):
|
| 43 |
#llm_config = {"model": llm}
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
"config_list": [
|
| 47 |
-
{
|
| 48 |
-
"model": llm, #"llama3-8b-8192",
|
| 49 |
-
"api_key": os.environ.get("GROQ_API_KEY_defualt"),
|
| 50 |
-
"base_url": "https://api.groq.com/openai/v1"
|
| 51 |
-
}
|
| 52 |
-
]
|
| 53 |
-
}
|
| 54 |
-
else GROQ_API_KEY:
|
| 55 |
-
llm_config = {
|
| 56 |
"config_list": [
|
| 57 |
{
|
| 58 |
"model": llm, #"llama3-8b-8192",
|
| 59 |
-
"api_key": os.environ.get("
|
| 60 |
"base_url": "https://api.groq.com/openai/v1"
|
| 61 |
}
|
| 62 |
]
|
|
|
|
| 41 |
|
| 42 |
def run_multi_agent(llm, task):
|
| 43 |
#llm_config = {"model": llm}
|
| 44 |
+
|
| 45 |
+
llm_config = {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
"config_list": [
|
| 47 |
{
|
| 48 |
"model": llm, #"llama3-8b-8192",
|
| 49 |
+
"api_key": os.environ.get("GROQ_API_KEY_defualt"),
|
| 50 |
"base_url": "https://api.groq.com/openai/v1"
|
| 51 |
}
|
| 52 |
]
|