File tree Expand file tree Collapse file tree 5 files changed +4
-8
lines changed Expand file tree Collapse file tree 5 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 15
15
</ItemGroup >
16
16
17
17
<ItemGroup >
18
- <PackageReference Include =" Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version =" 7 .0.18 " />
18
+ <PackageReference Include =" Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version =" 8 .0.5 " />
19
19
<PackageReference Include =" System.Linq.Async" Version =" 6.0.1" />
20
20
</ItemGroup >
21
21
Original file line number Diff line number Diff line change 103
103
}
104
104
105
105
@section Scripts {
106
- <script src =" ~/js/sessionconnectionchat .js" ></script >
106
+ <script src =" ~/js/sessionConnectionChat .js" ></script >
107
107
<script >
108
108
createConnectionSessionChat ();
109
109
</script >
Original file line number Diff line number Diff line change 6
6
<title >@ViewData ["Title"] - LLamaSharp Web</title >
7
7
<
link href =
" https://cdn.jsdelivr.net/npm/[email protected] /dist/css/bootstrap.min.css" rel =
" stylesheet" integrity =
" sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin =
" anonymous" >
8
8
<link rel =" stylesheet" href =" ~/css/site.css" asp-append-version =" true" />
9
- <link rel =" stylesheet" href =" ~/LLama.Web.styles.css" asp-append-version =" true" />
10
9
<link rel =" icon" href =" ~/image/llama-sharp.png" sizes =" 32x32" type =" image/png" >
11
10
<
link rel =
" stylesheet" href =
" https://cdn.jsdelivr.net/npm/[email protected] /font/bootstrap-icons.min.css" >
12
11
</head >
Original file line number Diff line number Diff line change 10
10
if ( builder . Environment . IsDevelopment ( ) )
11
11
{
12
12
mvcBuilder . AddRazorRuntimeCompilation ( ) ;
13
- builder . Configuration . AddJsonFile ( "appSettings .Local.json" ) ;
13
+ builder . Configuration . AddJsonFile ( "appsettings .Local.json" , true ) ;
14
14
}
15
15
16
16
builder . Services . AddSignalR ( ) ;
47
47
48
48
app . MapHub < SessionConnectionHub > ( nameof ( SessionConnectionHub ) ) ;
49
49
50
- app . Run ( ) ;
50
+ app . Run ( ) ;
Original file line number Diff line number Diff line change 8
8
"AllowedHosts" : " *" ,
9
9
"LLamaOptions" : {
10
10
"ModelLoadType" : 0 ,
11
-
12
- // If you would like to add your own local model files then it's best to create an appSettings.Local.json file
13
- // and add them there. The appSettings.Local.json file will be ignored by Git.
14
11
"Models" : [
15
12
{
16
13
"Name" : " Example LLama2-7b-Chat" ,
You can’t perform that action at this time.
0 commit comments