Saltar al contenido principal
Versión: 0.18.0

Function: sourcesPromptSection()

function sourcesPromptSection(projectDir, sourcesDir): string;

Defined in: core/tools/saveToSources.ts:113

The "Sources" section appended to the system prompt whenever there's a sources folder, with or without a knowledge base: what the originals are and how they come and go. projectDir and sourcesDir give the folder's name as the model reads it.

Parameters​

ParameterType
projectDirstring
sourcesDirstring

Returns​

string