randydev commited on
Commit
9874c5b
·
verified ·
1 Parent(s): 8d1a56c
Files changed (1) hide show
  1. lib/@randydev/together/qwen-ai.js +1 -3
lib/@randydev/together/qwen-ai.js CHANGED
@@ -1,10 +1,8 @@
1
  import got from 'got';
2
 
3
- import { HUGGING_TOKEN } from "./config.js";
4
-
5
  import { InferenceClient } from "@huggingface/inference";
6
 
7
- const client = new InferenceClient(HUGGING_TOKEN);
8
 
9
  export async function Qwen323NewResponse(message) {
10
  const chatCompletion = await client.chatCompletion({
 
1
  import got from 'got';
2
 
 
 
3
  import { InferenceClient } from "@huggingface/inference";
4
 
5
+ const client = new InferenceClient(`${process.env['HUGGING_TOKEN']}`);
6
 
7
  export async function Qwen323NewResponse(message) {
8
  const chatCompletion = await client.chatCompletion({