Skip to content

Commit

Permalink
feat(mistral): add support for Mistral API keys (#14)
Browse files Browse the repository at this point in the history
* feat(mistral): add support for Mistral API keys

- Update agents_llm_config-example.json file to include Mistral API key configuration.
- Add new dependency to pyproject.toml for Autogen Mistral support.
- Modify Makefile to include a command for venv management when running Poetry.

* fix: update poetry.lock to reflect pyproject.toml changes

update poetry.lock to reflect pyproject.toml changes"
  • Loading branch information
joyhaldar authored Dec 19, 2024
1 parent 5d4b3c0 commit 9f6177f
Show file tree
Hide file tree
Showing 4 changed files with 696 additions and 575 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ run-interactive: ## run-interactive testzeus_hercules.
.PHONY: setup-poetry
setup-poetry: ## setup poetry.
curl -sSL https://install.python-poetry.org | python3.11 -
poetry config virtualenvs.in-project true

.PHONY: docker-build
docker-build: ## build and tag docker image.
Expand Down
10 changes: 6 additions & 4 deletions agents_llm_config-example.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"mistral-large": {
"planner_agent": {
"model_name": "mistral",
"model_name": "mistral-large-latest",
"model_api_key": "",
"model_base_url": "https://...",
"model_base_url": "https://api.mistral.ai/v1",
"model_api_type": "mistral",
"llm_config_params": {
"cache_seed": null,
"temperature": 0.0,
Expand All @@ -12,9 +13,10 @@
}
},
"browser_nav_agent": {
"model_name": "mistral",
"model_name": "mistral-large-latest",
"model_api_key": "",
"model_base_url": "https://...",
"model_base_url": "https://api.mistral.ai/v1",
"model_api_type": "mistral",
"llm_config_params": {
"cache_seed": null,
"temperature": 0.0,
Expand Down
Loading

0 comments on commit 9f6177f

Please sign in to comment.