Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Use HttpClientHandler to simplify Proxy configuration#35

Merged
Richasy merged 1 commit intomainfrom
richasy/simplifyProxy
Jun 16, 2023
Merged

Use HttpClientHandler to simplify Proxy configuration#35
Richasy merged 1 commit intomainfrom
richasy/simplifyProxy

Conversation

@Richasy
Copy link
Owner

@Richasy Richasy commented Jun 16, 2023

Close #33

Using HttpClientHandler, we can intercept requests and replace request URLs. This can greatly simplify proxy requests.

PR type

What is the purpose of this PR?

  • Code style

What is the current behavior?

We have copied a large amount of SK code to solve a "minor" issue with the proxy.

What is the new behavior?

We can replace the request link using a handler.

PR checklist

Please check that your PR meets the following requirements:

  • App successfully launched
  • File headers have been added to all source files
  • NOT Contains breaking updates

Remark

Thank you for the suggestions provided by @JadynWong !

@Richasy Richasy merged commit fdb2c57 into main Jun 16, 2023
@Richasy Richasy deleted the richasy/simplifyProxy branch June 16, 2023 01:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Improve openai proxy services

1 participant