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

Dev #2

Open
wants to merge 116 commits into
base: main
Choose a base branch
from
Open

Dev #2

wants to merge 116 commits into from

Conversation

wuchtw
Copy link
Owner

@wuchtw wuchtw commented Aug 11, 2024

No description provided.

Phate334 and others added 30 commits July 2, 2024 19:07
The original configuration of nginx may lead to "upstream sent too big
header while reading response header from upstream" error.
[multi-chat] fix: trust all proxies.

This pull request fixes the issue of generating links without "https" prefix when Kuwa is running behind a proxy by adjusting the trusted proxy settings in Laravel.
To allow for greater flexibility, the trusted proxy configuration should be made configurable through an environment variable.
1. Executor: set trust_env to True to consume proxy setting from env
2. Docker: Respect proxy env in dockerfile
3. Windows: Expose system proxy as env
This patch enables the configuration of a trusted proxy via the
environment variable, granting the ability to automatically prepend the
"https://" prefix on generated links for HTTPS services.
To address the issue where tee.bat is mistakenly identified as malware,
a replacement executable, which is a tiny binary, is employed. The
source code for the tee.exe can be accessed at
<https://github.com/ifTNT/tee-win32>.
[TODO] Edit bot image when creating bot
Change the default embedding model to
intfloat/multilingual-e5-small
for better retrieving performance at Traditional Chinese.

Reference: https://ihower.tw/blog/archives/12167
wcwutw and others added 30 commits August 8, 2024 23:31
[docker] fix: reboot flag location of build.sh
This commit addresses two minor issues:

- Portable shebang: The Python script now uses the portable shebang
  `#!/usr/local/bin/python` instead of the hardcoded `/bin/python`,
  ensuring compatibility across different systems.

- Quoting program name: The program name is now enclosed in quotes when
  invoked, allowing for spaces in the program's path.
This commit replaces absolute paths with relative paths in run.bat.

This change makes the script more portable by ensuring it functions
correctly regardless of the user's specific directory structure.
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