8000 server : revamp chat UI with vuejs and daisyui by ngxson · Pull Request #10175 · ggml-org/llama.cpp · GitHub
[go: up one dir, main page]

Skip to content

server : revamp chat UI with vuejs and daisyui #10175

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

Merged
merged 24 commits into from
Nov 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Unified Diff View
Unified
Prev Previous commit
Next Next commit
small fix
  • Loading branch information
ngxson committed Nov 7, 2024
commit f51c78bbfa1acd3c2c3d10ec8db8f586b3347c84
3 changes: 2 additions & 1 deletion examples/server/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,9 @@ <h3 class="text-lg font-bold mb-6">Settings</h3>
alert('Invalid JSON for custom config. Please either fix it or leave it empty.');
return;
}
console.log(this.config)
for (const key of CONFIG_NUMERIC_KEYS) {
if (!isNaN(this.config[key]) && this.config[key].trim().length > 0) {
if (isNaN(this.config[key]) || this.config[key].toString().trim().length === 0) {
alert(`Invalid number for ${key} (expected an integer or a float)`);
return;
}
Expand Down
Loading
0