mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-19 18:35:18 +02:00
Merge pull request #553 from rowboatlabs/dev
note creation uses kg model
This commit is contained in:
commit
c756e61d7a
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { WorkDir } from '../config/config.js';
|
import { WorkDir } from '../config/config.js';
|
||||||
|
import { getKgModel } from '../models/defaults.js';
|
||||||
import { createRun, createMessage } from '../runs/runs.js';
|
import { createRun, createMessage } from '../runs/runs.js';
|
||||||
import { bus } from '../runs/bus.js';
|
import { bus } from '../runs/bus.js';
|
||||||
import { getErrorDetails, waitForRunCompletion } from '../agents/utils.js';
|
import { getErrorDetails, waitForRunCompletion } from '../agents/utils.js';
|
||||||
|
|
@ -252,6 +253,7 @@ async function createNotesFromBatch(
|
||||||
// Create a run for the note creation agent
|
// Create a run for the note creation agent
|
||||||
const run = await createRun({
|
const run = await createRun({
|
||||||
agentId: NOTE_CREATION_AGENT,
|
agentId: NOTE_CREATION_AGENT,
|
||||||
|
model: await getKgModel(),
|
||||||
useCase: 'knowledge_sync',
|
useCase: 'knowledge_sync',
|
||||||
subUseCase: 'build_graph',
|
subUseCase: 'build_graph',
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue