mirror of
https://github.com/idootop/mi-gpt.git
synced 2025-04-15 23:48:03 +00:00
21 lines
477 B
TypeScript
21 lines
477 B
TypeScript
import dotenv from "dotenv";
|
|
import { println } from "../src/utils/base";
|
|
import { kBannerASCII } from "../src/utils/string";
|
|
import { runWithDB } from "../src/services/db";
|
|
import { testDB } from "./db";
|
|
import { testSpeaker } from "./speaker";
|
|
import { testOpenAI } from "./openai";
|
|
import { testMyBot } from "./bot";
|
|
|
|
dotenv.config();
|
|
|
|
async function main() {
|
|
println(kBannerASCII);
|
|
// testDB();
|
|
// testSpeaker();
|
|
// testOpenAI();
|
|
testMyBot();
|
|
}
|
|
|
|
runWithDB(main);
|