瀏覽代碼

fix(docs): Broken URL (#8918)

Bernat Pericàs 7 月之前
父節點
當前提交
ccc27e23df
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      packages/opencode/src/config/config.ts
  2. 1 1
      packages/sdk/js/src/v2/gen/types.gen.ts
  3. 1 1
      packages/sdk/openapi.json

+ 1 - 1
packages/opencode/src/config/config.ts

@@ -942,7 +942,7 @@ export namespace Config {
         })
         })
         .catchall(Agent)
         .catchall(Agent)
         .optional()
         .optional()
-        .describe("Agent configuration, see https://opencode.ai/docs/agent"),
+        .describe("Agent configuration, see https://opencode.ai/docs/agents"),
       provider: z
       provider: z
         .record(z.string(), Provider)
         .record(z.string(), Provider)
         .optional()
         .optional()

+ 1 - 1
packages/sdk/js/src/v2/gen/types.gen.ts

@@ -1666,7 +1666,7 @@ export type Config = {
     [key: string]: AgentConfig | undefined
     [key: string]: AgentConfig | undefined
   }
   }
   /**
   /**
-   * Agent configuration, see https://opencode.ai/docs/agent
+   * Agent configuration, see https://opencode.ai/docs/agents
    */
    */
   agent?: {
   agent?: {
     plan?: AgentConfig
     plan?: AgentConfig

+ 1 - 1
packages/sdk/openapi.json

@@ -9316,7 +9316,7 @@
             }
             }
           },
           },
           "agent": {
           "agent": {
-            "description": "Agent configuration, see https://opencode.ai/docs/agent",
+            "description": "Agent configuration, see https://opencode.ai/docs/agents",
             "type": "object",
             "type": "object",
             "properties": {
             "properties": {
               "plan": {
               "plan": {