8import { Hono } from "npm:hono@3";
9import _ from "npm:lodash@4";
10import OpenAI from "npm:openai";
11import { renderToString } from "npm:react-dom/server";
12
323
324 const contextWindow: any = await valleGetValsContextWindow(model);
325 const openai = new OpenAI();
326 const stream = await openai.chat.completions.create({
327 model,
328 stream: true,
8import { Hono } from "npm:hono@3";
9import _ from "npm:lodash@4";
10import OpenAI from "npm:openai";
11import { renderToString } from "npm:react-dom/server";
12
333
334 const contextWindow: any = await valleGetValsContextWindow(model);
335 const openai = new OpenAI();
336 const stream = await openai.chat.completions.create({
337 model,
338 stream: true,
8import { Hono } from "npm:hono@3";
9import _ from "npm:lodash@4";
10import OpenAI from "npm:openai";
11import { renderToString } from "npm:react-dom/server";
12
302
303 const contextWindow: any = await valleGetValsContextWindow(model);
304 const openai = new OpenAI();
305 const stream = await openai.chat.completions.create({
306 model,
307 stream: true,
8import { Hono } from "npm:hono@3";
9import _ from "npm:lodash@4";
10import OpenAI from "npm:openai";
11import { renderToString } from "npm:react-dom/server";
12
311
312 const contextWindow: any = await valleGetValsContextWindow(model);
313 const openai = new OpenAI();
314 const stream = await openai.chat.completions.create({
315 model,
316 stream: true,
8import { Hono } from "npm:hono@3";
9import _ from "npm:lodash@4";
10import OpenAI from "npm:openai";
11import { renderToString } from "npm:react-dom/server";
12
212
213 const contextWindow: any = await valleGetValsContextWindow(model);
214 const openai = new OpenAI();
215 const stream = await openai.chat.completions.create({
216 model,
217 stream: true,
8import { Hono } from "npm:hono@3";
9import _ from "npm:lodash@4";
10import OpenAI from "npm:openai";
11import { renderToString } from "npm:react-dom/server";
12
287
288 const contextWindow: any = await valleGetValsContextWindow(model);
289 const openai = new OpenAI();
290 const stream = await openai.chat.completions.create({
291 model,
292 stream: true,
8import { Hono } from "npm:hono@3";
9import _ from "npm:lodash@4";
10import OpenAI from "npm:openai";
11import { renderToString } from "npm:react-dom/server";
12
323
324 const contextWindow: any = await valleGetValsContextWindow(model);
325 const openai = new OpenAI();
326 const stream = await openai.chat.completions.create({
327 model,
328 stream: true,
8import { Hono } from "npm:hono@3";
9import _ from "npm:lodash@4";
10import OpenAI from "npm:openai";
11import { renderToString } from "npm:react-dom/server";
12
187
188 const contextWindow: any = await valleGetValsContextWindow(model);
189 const openai = new OpenAI();
190 const stream = await openai.chat.completions.create({
191 model,
192 stream: true,
8import { Hono } from "npm:hono@3";
9import _ from "npm:lodash@4";
10import OpenAI from "npm:openai";
11import { renderToString } from "npm:react-dom/server";
12
207
208 const contextWindow: any = await valleGetValsContextWindow(model);
209 const openai = new OpenAI();
210 const stream = await openai.chat.completions.create({
211 model,
212 stream: true,
8import { Hono } from "npm:hono@3";
9import _ from "npm:lodash@4";
10import OpenAI from "npm:openai";
11import { renderToString } from "npm:react-dom/server";
12
299
300 const contextWindow: any = await valleGetValsContextWindow(model);
301 const openai = new OpenAI();
302 const stream = await openai.chat.completions.create({
303 model,
304 stream: true,