GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(server): tell Claude that decline feedback is the user's message · pingdotgg/t3code@50770a5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/server/src/orchestration-v2/Adapters
    • ClaudeAdapterV2.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts
+5-4Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3432,13 +3432,14 @@ export function permissionResultFromDecision(input: {
34323432
};
34333433
}
34343434

3435+
const feedback = input.feedback?.trim();
34353436
return {
34363437
behavior: "deny",
3437-
message:
3438-
input.feedback?.trim() ||
3439-
(input.decision === "cancel"
3438+
message: feedback
3439+
? `The user declined this tool call and said:\n${feedback}`
3440+
: input.decision === "cancel"
34403441
? "User cancelled tool execution."
3441-
: "User declined tool execution."),
3442+
: "User declined tool execution.",
34423443
toolUseID: input.toolUseID,
34433444
decisionClassification: "user_reject",
34443445
...(input.decision === "cancel" ? { interrupt: true } : {}),

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.