mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-06 03:42:11 +02:00
Use native runtimes for flow entrypoints
This commit is contained in:
parent
54fc21b38d
commit
74955d6041
38 changed files with 233 additions and 134 deletions
|
|
@ -8,9 +8,6 @@
|
|||
* OPENAI_TOKEN (required)
|
||||
* OPENAI_BASE_URL (optional)
|
||||
*/
|
||||
import { run } from "../packages/flow/src/model/text-completion/openai.js";
|
||||
import { runMain } from "../packages/flow/src/model/text-completion/openai.js";
|
||||
|
||||
run().catch((err) => {
|
||||
console.error("OpenAI LLM service failed:", err);
|
||||
process.exit(1);
|
||||
});
|
||||
runMain();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue