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 — chore: generate · ildella/opencode@98d66e9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages
    • opencode/src/mcp
      • catalog.ts
    • stats/core/src/domain
      • home.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/opencode/src/mcp/catalog.ts‎

Copy file name to clipboardExpand all lines: packages/opencode/src/mcp/catalog.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ export function convertTool(mcpTool: MCPToolDef, client: Client, timeout?: numbe
6363
timeout,
6464
},
6565
)
66-
if (result.isError)
67-
throw new Error(formatToolErrorContent(result.content))
66+
if (result.isError) throw new Error(formatToolErrorContent(result.content))
6867
if (result.structuredContent === undefined || result.structuredContent === null) return result
6968
return {
7069
...result,
Collapse file

‎packages/stats/core/src/domain/home.ts‎

Copy file name to clipboardExpand all lines: packages/stats/core/src/domain/home.ts
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -382,10 +382,9 @@ function buildUsagePoints(
382382

383383
function buildLeaderboard(rows: StatMetricRow[], product: UsageProduct, rankWindow: DateWindow) {
384384
const previous = new Map(
385-
aggregateByModelName(rowsForProduct(rows, product, rankWindow.previousStart, rankWindow.previousEnd)).map((item) => [
386-
item.model,
387-
item.totalTokens,
388-
]),
385+
aggregateByModelName(rowsForProduct(rows, product, rankWindow.previousStart, rankWindow.previousEnd)).map(
386+
(item) => [item.model, item.totalTokens],
387+
),
389388
)
390389

391390
return aggregateByModelName(rowsForProduct(rows, product, rankWindow.start, rankWindow.end))

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.