Skip to content

[Bug/Feature Request]: Add OPENAI_BASE_URL Environment Variable Support for PR Testing #148

@ppppangu

Description

@ppppangu

I'm unable to submit my PR because I don't have an official OpenAI API key, even though my changes could be properly tested with an API-compatible service.

Proposed Solution

Add support for an optional OPENAI_BASE_URL environment variable in the PR testing workflow that allows specifying alternative API endpoints.

Implementation Approach

  1. Modify the testing configuration to check for OPENAI_BASE_URL
  2. If present, use this URL as the base endpoint for API calls
  3. If not present, default to the official OpenAI API endpoint

Benefits

  • Lower barrier to contribution for developers without OpenAI API access
  • Enable testing with compatible services
  • Support contributors from regions with limited OpenAI access
  • Maintain compatibility with existing workflows for those using official API keys

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions