Skip to content

feat: Add OpenAI-compatible API support with DEEPPLAN_ environment variables#8

Open
andromedarabbit wants to merge 1 commit into
piercelamb:mainfrom
andromedarabbit:main
Open

feat: Add OpenAI-compatible API support with DEEPPLAN_ environment variables#8
andromedarabbit wants to merge 1 commit into
piercelamb:mainfrom
andromedarabbit:main

Conversation

@andromedarabbit
Copy link
Copy Markdown

Summary

This PR adds support for OpenAI-compatible API endpoints and introduces DEEPPLAN_ prefixed environment variables for better configuration management.

Changes

  1. OpenAI-compatible API support (11adc99)

    • Added support for OPENAI_BASE_URL environment variable
    • Allows using alternative OpenAI-compatible endpoints (e.g., local LLMs, proxy servers)
  2. DEEPPLAN_OPENAI_ prefix support (c131e28)

    • Added DEEPPLAN_OPENAI_API_KEY and DEEPPLAN_OPENAI_BASE_URL environment variables
    • Provides namespace isolation for deep-plan specific configuration
  3. Environment variable prioritization (8d8de9d)

    • Refactored to prioritize DEEPPLAN_ prefixed variables over standard ones
    • Priority order: DEEPPLAN_OPENAI_* > OPENAI_*
    • Improves configuration flexibility in multi-tool environments

Use Cases

  • Using local LLM servers (e.g., Ollama, LM Studio)
  • Corporate proxy/gateway configurations
  • Isolating deep-plan API keys from other tools
  • Testing with alternative OpenAI-compatible services

Testing

Tested with various environment variable combinations to ensure proper prioritization and fallback behavior.

@andromedarabbit andromedarabbit force-pushed the main branch 4 times, most recently from bb9dd74 to f79b4a0 Compare February 21, 2026 12:44
- Enhanced validate-env.sh with better error handling and LLM client checks
- Added comprehensive test coverage for validation scripts and LLM clients
- Updated deep-plan skill documentation with clearer usage examples
- Improved review.py with better error messages and validation
- Extended README with setup and troubleshooting guides
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant