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: ensure 'name' isnt being sent in request body for custom agent · bpd1069/opencode@c7a2c73

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/opencode/src
    • agent
      • agent.ts
    • config
      • config.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/opencode/src/agent/agent.ts‎

Copy file name to clipboardExpand all lines: packages/opencode/src/agent/agent.ts
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ export namespace Agent {
188188
item.topP = value.top_p ?? item.topP
189189
item.mode = value.mode ?? item.mode
190190
item.color = value.color ?? item.color
191-
item.name = value.options?.name ?? item.name
192191
item.steps = value.steps ?? item.steps
193192
item.options = mergeDeep(item.options, value.options ?? {})
194193
item.permission = PermissionNext.merge(item.permission, PermissionNext.fromConfig(value.permission ?? {}))
Collapse file

‎packages/opencode/src/config/config.ts‎

Copy file name to clipboardExpand all lines: packages/opencode/src/config/config.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ export namespace Config {
483483
.catchall(z.any())
484484
.transform((agent, ctx) => {
485485
const knownKeys = new Set([
486+
"name",
486487
"model",
487488
"prompt",
488489
"description",

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.