Browse Source

fix(docs): Broken URL (#8918)

Bernat Pericàs 2 months ago
parent
commit
ccc27e23df

+ 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": {