Skip to content

Commit

Permalink
Fix debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiname committed Dec 18, 2024
1 parent bae4561 commit a036cc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import ora from "ora";
import { getPrompt, getVersion, setSpinner } from "./util.ts";
import { initLogger } from "./logger.ts";
import { DEFAULT_LLM_HOST, DEFAULT_PORT } from "./constants.ts";
import { getGenerateFunction } from "./runners/runner.ts";

const sharedArgs = {
project: {
Expand Down Expand Up @@ -238,6 +237,8 @@ yargs(Deno.args)
"./embeddings/generator/generator.ts"
);

const { getGenerateFunction } = await import("./runners/runner.ts");

const generateFunction = await getGenerateFunction(
argv.host,
argv.model,
Expand Down

0 comments on commit a036cc9

Please sign in to comment.