Vidol Chat displays the available product list to users by reading the index.json
file from this repository.
English · 简体中文
If you wish to add an Agent to the list, simply add a file under the agents
folder using the templates/agent.json
, provide a brief description, and submit a PR to the main
branch.
-
Fork this repository.
-
Make a copy of the
templates/agent.json
file. -
Fill in the appropriate Agent configuration information.
-
Move it to the
src\agents
folder. -
Submit the PR, wait for review, and upon merging, the
public/agents/index.json
file will be automatically rebuilt.
- The
created
field will be automatically added, please ensure the uniqueness ofagentId
.
To run the format
script locally, you need to configure the following environment variables:
Environment Variable | Type | Example |
---|---|---|
OPENAI_API_KEY |
Required | sk-xxxxxx...xxxxxx |
OPENAI_PROXY_URL |
Optional | - |