Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
7a730c3f
Commit
7a730c3f
authored
Feb 21, 2024
by
Timothy J. Baek
Browse files
refac: versioning using package
parent
b740fa3a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
backend/apps/web/main.py
backend/apps/web/main.py
+0
-1
package.json
package.json
+1
-1
vite.config.ts
vite.config.ts
+4
-1
No files found.
backend/apps/web/main.py
View file @
7a730c3f
...
...
@@ -57,7 +57,6 @@ app.include_router(utils.router, prefix="/utils", tags=["utils"])
async
def
get_status
():
return
{
"status"
:
True
,
"version"
:
WEBUI_VERSION
,
"auth"
:
WEBUI_AUTH
,
"default_models"
:
app
.
state
.
DEFAULT_MODELS
,
"default_prompt_suggestions"
:
app
.
state
.
DEFAULT_PROMPT_SUGGESTIONS
,
...
...
package.json
View file @
7a730c3f
{
"name"
:
"open-webui"
,
"version"
:
"
0.0.
1"
,
"version"
:
"
v1.0.0-alpha.10
1"
,
"private"
:
true
,
"scripts"
:
{
"dev"
:
"vite dev --host"
,
...
...
vite.config.ts
View file @
7a730c3f
...
...
@@ -2,5 +2,8 @@ import { sveltekit } from '@sveltejs/kit/vite';
import
{
defineConfig
}
from
'
vite
'
;
export
default
defineConfig
({
plugins
:
[
sveltekit
()]
plugins
:
[
sveltekit
()],
define
:
{
APP_VERSION
:
JSON
.
stringify
(
process
.
env
.
npm_package_version
)
}
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment