upd
This commit is contained in:
@@ -21,7 +21,7 @@ import dotenv from 'dotenv';
|
||||
import { LLMOrbiter, OpenRouterProvider, defineTool, DirectReturnError } from '../src/index.js';
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
dotenv.config({ path: path.resolve(__dirname, '.env') });
|
||||
dotenv.config({ path: path.resolve(__dirname, '.env'), quiet: true });
|
||||
|
||||
// ─── Prompt logfile ─────────────────────────────────────────────────────────────
|
||||
// Appends the full prompt of every LLM call so we can debug prompt composition.
|
||||
|
||||
@@ -22,7 +22,7 @@ import dotenv from 'dotenv';
|
||||
import { LLMOrbiter, OpenRouterProvider, defineTool, ToolError } from '../src/index.js';
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
dotenv.config({ path: path.resolve(__dirname, '.env') });
|
||||
dotenv.config({ path: path.resolve(__dirname, '.env'), quiet: true });
|
||||
|
||||
const args = process.argv.slice(2);
|
||||
function getArg(flag) {
|
||||
|
||||
@@ -19,7 +19,7 @@ import { LLMOrbiter, OpenRouterProvider } from '../src/index.js';
|
||||
import { weatherTool } from './tools/weather.js';
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
dotenv.config({ path: path.resolve(__dirname, '.env') });
|
||||
dotenv.config({ path: path.resolve(__dirname, '.env'), quiet: true });
|
||||
|
||||
const args = process.argv.slice(2);
|
||||
function getArg(flag) {
|
||||
|
||||
Reference in New Issue
Block a user