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 — feat(judge): propagate Cached field through JudgeResult and adapter · majorcontext/keep@f3a7062

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • internal/engine
    • eval.go
  • keep.go
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎internal/engine/eval.go‎

Copy file name to clipboardExpand all lines: internal/engine/eval.go
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ type JudgeResult struct {
108108
Reason string
109109
InputTokens int
110110
OutputTokens int
111+
Cached bool
111112
}
112113

113114
// JudgeHandler is the function signature for judge evaluation.
Collapse file

‎keep.go‎

Copy file name to clipboardExpand all lines: keep.go
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ func judgeAdapter(fn JudgeFunc) engine.JudgeHandler {
425425
Reason: v.Reason,
426426
InputTokens: v.Usage.InputTokens,
427427
OutputTokens: v.Usage.OutputTokens,
428+
Cached: v.Cached,
428429
}, nil
429430
}
430431
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — 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.