Ensure date is passed to pipeline. Fix woring
This commit is contained in:
@@ -10,6 +10,7 @@ export async function hydratePrompt(path: string, state: any) : Promise<string>
|
||||
raw = raw.replace("###TITLE###", state.disinformationTitle);
|
||||
raw = raw.replace("###LM###", state.messages.at(-1).content);
|
||||
raw = raw.replace("###NTITLE###", state.normalizedClaim);
|
||||
raw = raw.replace("###CDATE###", state.date);
|
||||
|
||||
if (raw.indexOf("###TECLAIM###") != -1) {
|
||||
const title = state.proposedTriggerEvent[state.proposedTriggerEventIndex].Event
|
||||
|
||||
Reference in New Issue
Block a user