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

feat(config): add custom host config #102

Merged
merged 1 commit into from
Mar 2, 2023
Merged

feat(config): add custom host config #102

merged 1 commit into from
Mar 2, 2023

Conversation

aallam
Copy link
Owner

@aallam aallam commented Mar 2, 2023

Q A
Bug fix? no
New feature? yes
BC breaks? no
Related Issue Fix #100

Describe your change

  • Add OpenAIHost with two params: baseUrl and queryParams
  • Add host param to OpenAIConfig

@aallam aallam merged commit 7326a24 into main Mar 2, 2023
@aallam aallam deleted the feat/host branch March 2, 2023 13:07
*/
public class OpenAIHost(
/** Base URL configuration.*/
public val baseUrl: String,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The actual implementation is not baseUrl but host and protocol.
If my baseUrl contains some path, this implementation will drop my path

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.

please make host part of OpenAIConfig
2 participants