From 9c38754b5a880dfff52b8fd668a7d834f5c5495b Mon Sep 17 00:00:00 2001 From: rdmclin2 Date: Thu, 7 Nov 2024 21:40:17 +0800 Subject: [PATCH] chore: update readme.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 7363be0..6121ff7 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,12 @@ If you wish to add an Agent to the list, simply add a file under the `agents` fo 5. 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 of `agentId`. + +## Format JSON + +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 | `-` |