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

๐Ÿ’„ style: add auth support for PROXY_URL #5304

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

WindSpiritSR
Copy link
Contributor

@WindSpiritSR WindSpiritSR commented Jan 5, 2025

๐Ÿ’ป ๅ˜ๆ›ด็ฑปๅž‹ | Change Type

  • โœจ feat
  • ๐Ÿ› fix
  • โ™ป๏ธ refactor
  • ๐Ÿ’„ style
  • ๐Ÿ‘ท build
  • โšก๏ธ perf
  • ๐Ÿ“ docs
  • ๐Ÿ”จ chore

๐Ÿ”€ ๅ˜ๆ›ด่ฏดๆ˜Ž | Description of Change

  1. add auth support to PROXY_URL parsing
  2. add more private address to proxychians4 config, prevent failure to connect to intranet service when using PROXY_URL

๐Ÿ“ ่กฅๅ……ไฟกๆฏ | Additional Information

Copy link

vercel bot commented Jan 5, 2025

@WindSpiritSR is attempting to deploy a commit to the LobeHub Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. ๐ŸŒ  Feature Request New feature or request | ็‰นๆ€งไธŽๅปบ่ฎฎ labels Jan 5, 2025
@lobehubbot
Copy link
Member

๐Ÿ‘ @WindSpiritSR

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
้žๅธธๆ„Ÿ่ฐขๆ‚จๆๅ‡บๆ‹‰ๅ–่ฏทๆฑ‚ๅนถไธบๆˆ‘ไปฌ็š„็คพๅŒบๅšๅ‡บ่ดก็Œฎ๏ผŒ่ฏท็กฎไฟๆ‚จๅทฒ็ป้ตๅพชไบ†ๆˆ‘ไปฌ็š„่ดก็ŒฎๆŒ‡ๅ—๏ผŒๆˆ‘ไปฌไผšๅฐฝๅฟซๅฎกๆŸฅๅฎƒใ€‚
ๅฆ‚ๆžœๆ‚จ้‡ๅˆฐไปปไฝ•้—ฎ้ข˜๏ผŒ่ฏท้šๆ—ถไธŽๆˆ‘ไปฌ่”็ณปใ€‚

@hugoyue
Copy link

hugoyue commented Jan 6, 2025

้žๅธธ้œ€่ฆ ๏ผ๏ผ๏ผ๏ผ

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


Much needed! ! ! !

@coulsontl
Copy link
Contributor

ๅฎž็”จๅŠŸ่ƒฝ๏ผŒๆŒบ้œ€่ฆ็š„

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


Practical functions, quite needed

@WindSpiritSR
Copy link
Contributor Author

fix #5334

@WindSpiritSR
Copy link
Contributor Author

@arvinxx review plz

@arvinxx
Copy link
Contributor

arvinxx commented Jan 14, 2025

@WindSpiritSR plz rebase the main

Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
@WindSpiritSR WindSpiritSR force-pushed the feat_proxy_url_support_auth branch from 12f92fa to b369687 Compare January 15, 2025 04:08
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Jan 15, 2025
@WindSpiritSR
Copy link
Contributor Author

@arvinxx fixed

@arvinxx arvinxx changed the title โœจ feat: add auth support for PROXY_URL ๐Ÿ’„ style: add auth support for PROXY_URL Jan 15, 2025
@arvinxx arvinxx changed the title ๐Ÿ’„ style: add auth support for PROXY_URL ๐Ÿ’„ style: add auth support for PROXY_URL Jan 15, 2025
Copy link
Contributor

@arvinxx arvinxx left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for your contribution!

@arvinxx arvinxx merged commit eb26c79 into lobehub:main Jan 15, 2025
1 of 4 checks passed
@lobehubbot
Copy link
Member

โค๏ธ Great PR @WindSpiritSR โค๏ธ

The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.
้กน็›ฎ็š„ๆˆ้•ฟ็ฆปไธๅผ€็”จๆˆทๅ้ฆˆๅ’Œ่ดก็Œฎ๏ผŒๆ„Ÿ่ฐขๆ‚จ็š„่ดก็Œฎ! ๅฆ‚ๆžœๆ‚จๅฏน LobeHub ๅผ€ๅ‘่€…็คพๅŒบๆ„Ÿๅ…ด่ถฃ๏ผŒ่ฏทๅŠ ๅ…ฅๆˆ‘ไปฌ็š„ discord๏ผŒ็„ถๅŽ็งไฟก @arvinxx ๆˆ– @canisminor1990ใ€‚ไป–ไปฌไผš้‚€่ฏทๆ‚จๅŠ ๅ…ฅๆˆ‘ไปฌ็š„็งๅฏ†ๅผ€ๅ‘่€…้ข‘้“ใ€‚ๆˆ‘ไปฌๅฐ†ไผš่ฎจ่ฎบๅ…ณไบŽ Lobe Chat ็š„ๅผ€ๅ‘๏ผŒๅˆ†ไบซๅ’Œ่ฎจ่ฎบๅ…จ็ƒ่Œƒๅ›ดๅ†…็š„ AI ๆถˆๆฏใ€‚

github-actions bot pushed a commit that referenced this pull request Jan 15, 2025
### [Version&nbsp;1.46.1](v1.46.0...v1.46.1)
<sup>Released on **2025-01-15**</sup>

#### ๐Ÿ’„ Styles

- **misc**: Add auth support for `PROXY_URL`.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add auth support for `PROXY_URL`, closes [#5304](#5304) ([eb26c79](eb26c79))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

๐ŸŽ‰ This PR is included in version 1.46.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

@WindSpiritSR WindSpiritSR deleted the feat_proxy_url_support_auth branch January 15, 2025 05:42
github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Jan 15, 2025
### [Version&nbsp;1.88.1](v1.88.0...v1.88.1)
<sup>Released on **2025-01-15**</sup>

#### ๐Ÿ› Bug Fixes

- **misc**: Fix azure in new ai provider.

#### ๐Ÿ’„ Styles

- **misc**: Add auth support for `PROXY_URL`.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix azure in new ai provider, closes [lobehub#5448](https://github.com/bentwnghk/lobe-chat/issues/5448) ([b5042c3](b5042c3))

#### Styles

* **misc**: Add auth support for `PROXY_URL`, closes [lobehub#5304](https://github.com/bentwnghk/lobe-chat/issues/5304) ([eb26c79](eb26c79))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
gecsp pushed a commit to gecsp/lobe-chat that referenced this pull request Jan 22, 2025
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
gecsp pushed a commit to gecsp/lobe-chat that referenced this pull request Jan 22, 2025
### [Version&nbsp;1.46.1](lobehub/lobe-chat@v1.46.0...v1.46.1)
<sup>Released on **2025-01-15**</sup>

#### ๐Ÿ’„ Styles

- **misc**: Add auth support for `PROXY_URL`.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add auth support for `PROXY_URL`, closes [lobehub#5304](lobehub#5304) ([eb26c79](lobehub@eb26c79))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
๐ŸŒ  Feature Request New feature or request | ็‰นๆ€งไธŽๅปบ่ฎฎ released size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants