Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit the use of environmental variables in the config (e.g. for API key) #4323

Open
2 tasks done
cboettig opened this issue Feb 24, 2025 · 0 comments
Open
2 tasks done
Assignees
Labels
area:configuration Relates to configuration options kind:enhancement Indicates a new feature request, imrovement, or extension "needs-triage" priority:medium Indicates medium priority

Comments

@cboettig
Copy link

Validations

  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement

Problem

Would you consider support for environmental variables in configuration?

like so:

{
  "models": [
    {
      "title": "GPT-4o",
      "provider": "openai", 
      "model": "gpt-4o",
      "apiKey": "$OPENAI_API_KEY"
    }
  ]
}

This would be convenient in numerous settings as using environmental variables for API keys is a common pattern. In my context this would streamline my deployment of continue.dev in prebuilt devcontainer/jupyterhub environments to students in large-enrollment courses. Thanks for considering and kudos for such a polished and configurable tool!

Solution

No response

@dosubot dosubot bot added area:configuration Relates to configuration options kind:enhancement Indicates a new feature request, imrovement, or extension priority:medium Indicates medium priority labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:configuration Relates to configuration options kind:enhancement Indicates a new feature request, imrovement, or extension "needs-triage" priority:medium Indicates medium priority
Projects
None yet
Development

No branches or pull requests

2 participants