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

Fix custom certificates handling for internal company setup #1091

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jasonkneen
Copy link

@jasonkneen jasonkneen commented Feb 5, 2025

Fixes #1086

Add support for custom certificates for internal company setup in OpenAiProvider.

  • crates/goose/src/providers/openai.rs

    • Add logic to handle custom certificates for internal company setup.
    • Update post method to use custom certificates if provided.
    • Add OPENAI_CERT_PATH configuration key to OpenAiProvider.
  • crates/goose/src/providers/utils.rs

    • Add utility function load_custom_certificates to load custom certificates from environment variables.

For more details, open the Copilot Workspace session.

Fixes block#1086

Add support for custom certificates for internal company setup in `OpenAiProvider`.

* **`crates/goose/src/providers/openai.rs`**
  - Add logic to handle custom certificates for internal company setup.
  - Update `post` method to use custom certificates if provided.
  - Add `OPENAI_CERT_PATH` configuration key to `OpenAiProvider`.

* **`crates/goose/src/providers/utils.rs`**
  - Add utility function `load_custom_certificates` to load custom certificates from environment variables.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/block/goose/issues/1086?shareId=XXXX-XXXX-XXXX-XXXX).
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.

error sending request for url - error
1 participant