Skip to content

Add a knowledge.google.setApiKey function #1

@ben-pr-p

Description

@ben-pr-p

By requiring an environment variable, you're limiting the end users configuration options and potentially forcing them to rename other google API keys that they don't want to conflict.

Easiest solution would be to have a knowledge.google.setApiKey(apiKey) function that set the API key, and fallback to GOOGLE_API_KEY otherwise.

If you agree, I'll be happy to submit the PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions