Skip to content

Commit a506e25

Browse files
committedMar 10, 2025
update linter
1 parent f6e55a3 commit a506e25

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed
 

‎integrations/gaia/index.ts

+10-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ import { createSigner, getEncryptionKeyFromHex } from "@/helpers";
55
/* Get the wallet key associated to the public key of
66
* the agent and the encryption key for the local db
77
* that stores your agent's messages */
8-
const { WALLET_KEY, ENCRYPTION_KEY, GAIA_NODE_URL, GAIA_API_KEY, GAIA_MODEL_NAME } = process.env;
8+
const {
9+
WALLET_KEY,
10+
ENCRYPTION_KEY,
11+
GAIA_NODE_URL,
12+
GAIA_API_KEY,
13+
GAIA_MODEL_NAME,
14+
} = process.env;
915

1016
/* Check if the environment variables are set */
1117
if (!WALLET_KEY) {
@@ -37,9 +43,9 @@ const signer = createSigner(WALLET_KEY);
3743
const encryptionKey = getEncryptionKeyFromHex(ENCRYPTION_KEY);
3844

3945
/* Initialize the OpenAI client */
40-
const openai = new OpenAI({
41-
baseURL: GAIA_NODE_URL,
42-
apiKey: GAIA_API_KEY
46+
const openai = new OpenAI({
47+
baseURL: GAIA_NODE_URL,
48+
apiKey: GAIA_API_KEY,
4349
});
4450

4551
/* Set the environment to dev or production */

0 commit comments

Comments
 (0)
Please sign in to comment.