-
Notifications
You must be signed in to change notification settings - Fork 338
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
Feature/add proxy configuration #423
base: master
Are you sure you want to change the base?
Feature/add proxy configuration #423
Conversation
…h to different LLM providers and configure additional settings like proxy and CA bundle 📝 (package.json): update devDependencies to include required types packages for follow-redirects, and add dependencies for http-proxy-agent and https-proxy-agent ♻️ (config.ts): refactor config.ts to include new configuration options for HTTP proxy, CA bundle, timeout, verify SSL, client certificate, and API version 🚀 (azure.ts): update azure.ts to use the new OpenAI package and pass the HTTP agent to handle proxy settings ♻️ (groq.ts): refactor groq.ts to use OpenAI package instead of the deprecated @azure/openai package ♻️ (openAi.ts): refactor openAi.ts to use OpenAI package instead of the deprecated @azure/openai package, and pass the HTTP agent to handle proxy settings 🚀 (set_missing_default_values.ts): add new migration to set missing default values in global config file ♻️ (engine.ts): refactor engine.ts to include API version in the default config object 🔧 (httpAgent.ts): add new httpAgent utility to handle HTTP settings including proxy, CA bundle, timeout, verify SSL, and client certificate
…it from Docker build ⬆️ (package.json): upgrade version from 3.2.2 to 3.2.3 in package.json ♻️ (httpAgent.ts): refactor code in getHttpAgent function to improve readability and maintainability
} | ||
|
||
export class AzureEngine implements AiEngine { | ||
config: AzureAiEngineConfig; | ||
client: AzureOpenAIClient; | ||
client: OpenAI; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you sure about this?
@@ -1,6 +1,6 @@ | |||
import migration00 from './00_use_single_api_key_and_url'; | |||
import migration01 from './01_remove_obsolete_config_keys_from_global_file'; | |||
import migration02 from './02_set_missing_default_values'; | |||
import migration03 from './03_set_missing_default_values'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why? is there a typo?
@ByJacob nice job, left few comments, also pls change the base branch to dev (we first merge there) and solve conflicts (there are few). to solve the |
@ByJacob pls let me know when you fix conflicts, i will merge this as soon as you are ready |
Pull Request Description 🚀
Overview
This pull request updates the Azure library and introduces new features for enhanced configuration options.
Features
Documentation
Notes
Thank you! 🙏