Skip to content

Commit 999c96c

Browse files
felixsanzclaude
andcommitted
fix: correct stale documentation URLs in error mapper
The error-to-docs mapper pointed at two paths that 404 after the docs restructure. getting-started/errors is now platform/errors, and getResponse now maps to platform/task-polling instead of platform/get-response. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 86db2c1 commit 999c96c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/api/transport/errors.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,14 +182,14 @@ func DeriveCode(raw string) ErrorCode {
182182

183183
const (
184184
docsBase = "https://runware.ai/docs"
185-
sdkErrorDocPath = "getting-started/errors"
185+
sdkErrorDocPath = "platform/errors"
186186
)
187187

188188
var utilityDocPaths = map[string]string{
189189
"modelSearch": "platform/model-search",
190190
"modelUpload": "platform/model-upload",
191191
"imageUpload": "platform/image-upload",
192-
"getResponse": "platform/get-response",
192+
"getResponse": "platform/task-polling",
193193
"accountManagement": "platform/account-management",
194194
}
195195

0 commit comments

Comments
 (0)