chore: remove hardcoded api keys from minimax test scripts

This commit is contained in:
2026-06-14 11:14:39 +02:00
parent 1abd2d1d59
commit 5e16a7049f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { createServer } from 'node:http';
async function test() {
const LLM_ENDPOINT = 'https://api.minimax.io/v1';
const LLM_API_KEY = 'sk-cp-UKWMS27cNQjuDxfHa14CsYKS1Q60ptZLhTtZYcB8iKgWJz9-C6st7jgmAsW7VTWQi83igf6mpc-6aIkt29wwWG_oCBYN0jITGAb06BA-MPjJgUEx7awu7zQ';
const LLM_API_KEY = process.env.MINIMAX_API_KEY;
const LLM_MODEL = 'MiniMax-M3';
const resp = await fetch(LLM_ENDPOINT + '/chat/completions', {
+1 -1
View File
@@ -2,7 +2,7 @@ import { createServer } from 'node:http';
async function test() {
const LLM_ENDPOINT = 'https://api.minimax.io/v1';
const LLM_API_KEY = 'sk-cp-UKWMS27cNQjuDxfHa14CsYKS1Q60ptZLhTtZYcB8iKgWJz9-C6st7jgmAsW7VTWQi83igf6mpc-6aIkt29wwWG_oCBYN0jITGAb06BA-MPjJgUEx7awu7zQ';
const LLM_API_KEY = process.env.MINIMAX_API_KEY;
const LLM_MODEL = 'MiniMax-M3';
const resp = await fetch(LLM_ENDPOINT + '/chat/completions', {