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

add scheme, host, and port for buildURL #180

Merged
merged 2 commits into from
Mar 22, 2024
Merged

add scheme, host, and port for buildURL #180

merged 2 commits into from
Mar 22, 2024

Conversation

JavadFaghih
Copy link
Contributor

What

add scheme, host, and port for buildURL

Why

for comuincate with local backend server

Affected Areas

building url for request

@tisfeng
Copy link

tisfeng commented Mar 19, 2024

Can anyone take a look at this PR?

@thekoc
Copy link

thekoc commented Mar 22, 2024

It's such a quality of life improvement and has been mentioned multiple times:

#179
#68
#74
#61

Not to mention it is supported by the official python library:

# all client options can be configured just like the `OpenAI` instantiation counterpart
openai.base_url = "https://..."
openai.default_headers = {"x-foo": "true"}

Could any one check it out?

@ingvarus-bc

@Krivoblotsky
Copy link
Collaborator

Thanks,
We will include this change in the next release.

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@ingvarus-bc
Copy link
Contributor

Hey! 👋
Thanks a lot for your contribution! 🔥

@ingvarus-bc ingvarus-bc merged commit 5861c59 into MacPaw:main Mar 22, 2024
4 checks passed
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.

5 participants