update gemini docs (#777)

This commit is contained in:
Tao Sun 2025-12-03 17:42:50 +08:00 committed by GitHub
commit ebf58d7a10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 66 additions and 32 deletions

View file

@ -0,0 +1,48 @@
---
title: "Gemini"
description: "This guide walks you through setting up your Google Gemini API key within Eigent to enable the Gemini model for your AI workforce."
---
### Prerequisites
- **Get your API Key:** If you haven't already, generate a key at [Google AI Studio](https://aistudio.google.com/).
- **Copy the Key:** Keep your API key ready to paste.
### Configuration Steps
**1. Access Application Settings**
- Launch Eigent and navigate to the **Home Page**.
- Click on the **Settings** tab (usually located in the sidebar or top navigation).
![Gemini 1 Pn](/docs/images/gemini_1.png)
**2. Locate Model Configuration**
- In the Settings menu, find and select the **Models** section.
- Scroll down to the **Custom Model** area.
- Look for the **Gemini Config** card.
-
![Gemini 2 Pn](/docs/images/gemini_2.png)
**3. Enter API Details** Click on the Gemini Config card and fill in the following fields:
- **API Key:** Paste the key you generated from Google AI Studio.
- **API Host:** Enter the appropriate API endpoint host (e.g., `generativelanguage.googleapis.com`).
- **Model Type:** Enter the specific model version you wish to use.
- _Example:_ `gemini-3-pro-preview`
- **Save:** Click the **Save** button to apply your changes.
![Gemini 3 Pn](/docs/images/gemini_3.png)
**4. Set as Default & Verify**
- Once saved, the **"Set as Default"** button on the Gemini Config card will be selected/active.
- **You are ready to go.** Your Eigent agents can now utilize the Gemini model.
![Gemini 4 Pn](/docs/images/gemini_4.png)
---
> **Video Tutorial:** Prefer a visual guide? [Watch the full configuration video here](https://www.youtube.com/watch?v=1fMU02kvshM)
>

View file

@ -1,33 +1,9 @@
---
title: Models
description: Configure and deploy your preferred LLM models with Eigent.
icon: server
title: "Models (Local Model)"
description: "Configure and deploy your preferred LLM models with Eigent."
icon: "server"
---
Eigent supports flexible integration and deployment of top LLMs and multimodal models. You can follow the steps below to set up your preferred LLM models.
1. Click Settings
![click_settings](/docs/images/models_settings.png)
2. Close Eigent Cloud Version
![close_eigent](/docs/images/models_close.png)
3. Configure your APIKEY and Model Type
![configure_api](/docs/images/models_configure_models.png)
4. Configure the Google Search toolkit
![configure_searchtools](/docs/images/models_configure_tools.png)
![configure_searchtoolsapi](/docs/images/models_configure_tools_key.png)
You can refer to the following document for detailed information on how to configure **GOOGLE_API_KEY** and **SEARCH_ENGINE_ID :** https://developers.google.com/custom-search/v1/overview
Nowstart enjoying Eigent
## **Self-Host Model**
1. Configure your self-host model
@ -71,8 +47,7 @@ ollama pull qwen2.5:7b
![configure_searchtools](/docs/images/models_configure_tools.png)
![configure_searchtoolsapi](/docs/images/models_configure_tools_key.png)
You can refer to the following document for detailed information on how to configure **GOOGLE_API_KEY** and **SEARCH_ENGINE_ID :** https://developers.google.com/custom-search/v1/overview
<img src="/docs/images/models_configure_tools_key.png" alt="configure_searchtoolsapi" /> You can refer to the following document for detailed information on how to configure **GOOGLE_API_KEY** and **SEARCH_ENGINE_ID :** https://developers.google.com/custom-search/v1/overview
## **API KEY Reference**

View file

@ -47,24 +47,35 @@
"groups": [
{
"group": "Get Started",
"icon": "rocket",
"pages": [
"/get_started/welcome",
"/get_started/installation",
"/get_started/installation",
"/get_started/quick_start"
]
},
{
"group": "Core",
"icon": "key",
"pages": [
"/core/concepts",
"/core/workforce",
"/core/models",
{
"group": "Models",
"icon": "brain",
"expanded": true,
"pages": [
"/core/models/gemini",
"/core/models/local-model"
]
},
"/core/tools",
"/core/workers"
]
},
{
"group": "Troubleshooting",
"icon": "question-circle",
"pages": [
"/troubleshooting/support",
"/troubleshooting/bug"

BIN
docs/images/gemini_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

BIN
docs/images/gemini_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 MiB

BIN
docs/images/gemini_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

BIN
docs/images/gemini_4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

View file

@ -133,4 +133,4 @@
"engines": {
"node": ">=18.0.0 <23.0.0"
}
}
}