mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 02:26:12 +02:00
Clarify durable question routing without excluding native input
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
705093a68a
commit
45cfa58c4b
2 files changed
+3
-3
No files matched your search
@@ -461,7 +461,7 @@ describe("native execution input external-chat framing", () => {
|
||||
runtimeContext: nativeRuntimeContextFixture(),
|
||||
});
|
||||
expect(input.task.prompt).not.toContain("## Questions that need a user response");
|
||||
expect(input.task.prompt).toContain("Use Paperclip's request_human_input for user questions");
|
||||
expect(input.task.prompt).toContain("Use Paperclip's request_human_input for durable task questions.");
|
||||
expect(input.task.prompt).not.toContain("payload.questionSet");
|
||||
});
|
||||
|
||||
|
||||
@@ -156,9 +156,9 @@ export function buildNativeExecutionInput(input: {
|
||||
isPaperclipExternalChatQuestionResponseTurn(wakePayload);
|
||||
const taskPrompt = [
|
||||
wakePrompt,
|
||||
// Provider-local elicitation can wait without creating a Paperclip card.
|
||||
// Durable task questions must survive the current provider turn.
|
||||
// Keep routing visible before deferred tool discovery; usage belongs in the tool schema.
|
||||
"Use Paperclip's request_human_input for user questions; provider-local question tools do not reach the Paperclip UI.",
|
||||
"Use Paperclip's request_human_input for durable task questions.",
|
||||
externalChatTurn && wake?.externalChatProvider === "github"
|
||||
? NATIVE_GITHUB_ATTACHMENT_RECOVERY_GUIDANCE
|
||||
: "",
|
||||
|
||||
Reference in new issue
Block a user