Update main.ts
Browse files
main.ts
CHANGED
|
@@ -98,7 +98,7 @@ import { Buffer } from "https://deno.land/std@0.152.0/io/buffer.ts"; // Not use
|
|
| 98 |
const HUNYUAN_API_URL = "http://llm.hunyuan.tencent.com/aide/api/v2/triton_image/demo_text_chat/"; // Consider making this configurable
|
| 99 |
const DEFAULT_STAFFNAME = "staryxzhang"; // Consider making this configurable
|
| 100 |
const DEFAULT_WSID = "10697"; // Consider making this configurable
|
| 101 |
-
const API_KEY = "
|
| 102 |
|
| 103 |
interface HunyuanMessage {
|
| 104 |
role: string;
|
|
|
|
| 98 |
const HUNYUAN_API_URL = "http://llm.hunyuan.tencent.com/aide/api/v2/triton_image/demo_text_chat/"; // Consider making this configurable
|
| 99 |
const DEFAULT_STAFFNAME = "staryxzhang"; // Consider making this configurable
|
| 100 |
const DEFAULT_WSID = "10697"; // Consider making this configurable
|
| 101 |
+
const API_KEY = "shijian520"; // Consider loading this from an environment variable or config file
|
| 102 |
|
| 103 |
interface HunyuanMessage {
|
| 104 |
role: string;
|