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
OpenDAS
ollama
Commits
8cc92447
Commit
8cc92447
authored
Jul 05, 2023
by
Jeffrey Morgan
Browse files
fix web build
parent
39b289c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
web/app/api/models/route.ts
web/app/api/models/route.ts
+1
-1
web/app/layout.tsx
web/app/layout.tsx
+1
-1
No files found.
web/app/api/models/route.ts
View file @
8cc92447
import
models
from
'
../../../../models.json
'
import
models
from
'
../../../../models.json
'
import
{
NextResponse
}
from
'
next/server
'
import
{
NextResponse
}
from
'
next/server
'
export
async
function
GET
(
re
)
{
export
async
function
GET
()
{
return
NextResponse
.
json
(
models
)
return
NextResponse
.
json
(
models
)
}
}
web/app/layout.tsx
View file @
8cc92447
...
@@ -5,7 +5,7 @@ export const metadata = {
...
@@ -5,7 +5,7 @@ export const metadata = {
description
:
'
A tool for running large language models
'
,
description
:
'
A tool for running large language models
'
,
}
}
export
default
function
RootLayout
({
children
})
{
export
default
function
RootLayout
({
children
}:
{
children
:
React
.
ReactNode
})
{
return
(
return
(
<
html
lang
=
'en'
>
<
html
lang
=
'en'
>
<
body
>
{
children
}
</
body
>
<
body
>
{
children
}
</
body
>
...
...
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