Skip to content

Critical: Fix OpenCode API endpoint URL in release analyzer #9

@coderabbitai

Description

@coderabbitai

Problem

The release analyzer script uses the wrong default API endpoint URL.

Current (incorrect):

const url = process.env.OPENCODE_API_URL || "https://api.openai.com/v1/responses";

Expected (correct):

const url = process.env.OPENCODE_API_URL || "https://opencode.ai/zen/v1/responses";

Impact

  • The release workflow will fail when trying to analyze commits
  • API calls will be sent to the wrong endpoint

Files to Fix

  1. scripts/detect-release-type.mjs (line ~136)
  2. docs/development/ci.md (line ~36 - update documentation)

References

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions