Preserve commenter role in outreach targeting
This commit is contained in:
1 parent
12e2dc56f1
commit
5e1fc5def9
11 files changed
+35
-26
No files matched your search
@@ -150,6 +150,7 @@ describe('OpenRouterClient', () => {
|
||||
const request = mockCreate.mock.calls[0][0];
|
||||
expect(request.temperature).toBe(0);
|
||||
expect(request.messages[1].content).toContain('<<<UNTRUSTED COMMENT>>>');
|
||||
expect(request.messages[0].content).toContain('would do to the pictured person does not qualify');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -669,6 +670,7 @@ describe('OpenRouterClient', () => {
|
||||
const userPrompt = mockCreate.mock.calls[0][0].messages[1].content as string;
|
||||
expect(systemPrompt).toContain('The RECIPIENT is the commenter');
|
||||
expect(systemPrompt).toContain('The SOURCE POST SUBJECT is a different person');
|
||||
expect(systemPrompt).toContain('never reverse the recipient into the person performing the act');
|
||||
expect(systemPrompt).toContain('The first sentence MUST explicitly anchor to the public comment');
|
||||
expect(userPrompt).toContain('I want that too');
|
||||
expect(`${systemPrompt}\n${userPrompt}`).not.toContain('Write a message for Commenter about');
|
||||
|
||||
Reference in new issue
Block a user