renaming to ensure consistency
This commit is contained in:
parent
d9742fbf4e
commit
80888e93cc
5 changed files with 8 additions and 8 deletions
|
@ -20,8 +20,8 @@ set(PUBLIC_ASSETS
|
|||
index-new.html
|
||||
index.js
|
||||
completion.js
|
||||
EN_systemPrompts.js
|
||||
promptFormats.js
|
||||
system-prompts.js
|
||||
prompt-format.js
|
||||
json-schema-to-grammar.mjs
|
||||
)
|
||||
foreach(asset ${PUBLIC_ASSETS})
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
|
||||
import { llama } from '/completion.js';
|
||||
import { SchemaConverter } from '/json-schema-to-grammar.mjs';
|
||||
import { promptFormats } from './promptFormats.js';
|
||||
import { systemPrompts } from './EN_systemPrompts.js'; // multilingual is wip
|
||||
import { promptFormats } from './prompt-format.js';
|
||||
import { systemPrompts } from './system-prompts.js'; // multilingual is wip
|
||||
let selected_image = false;
|
||||
var slot_id = -1;
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
#include "index-new.html.hpp"
|
||||
#include "index.js.hpp"
|
||||
#include "completion.js.hpp"
|
||||
#include "EN_systemPrompts.js.hpp"
|
||||
#include "promptFormats.js.hpp"
|
||||
#include "system-prompts.js.hpp"
|
||||
#include "prompt-format.js.hpp"
|
||||
#include "json-schema-to-grammar.mjs.hpp"
|
||||
|
||||
#include <atomic>
|
||||
|
@ -3778,8 +3778,8 @@ int main(int argc, char ** argv) {
|
|||
svr->Get("/theme-polarnight.css", handle_static_file(theme_polarnight_css, theme_polarnight_css_len, "text/css; charset=utf-8"));
|
||||
svr->Get("/theme-snowstorm.css", handle_static_file(theme_snowstorm_css, theme_snowstorm_css_len, "text/css; charset=utf-8"));
|
||||
svr->Get("/index-new.html", handle_static_file(index_new_html, index_new_html_len, "text/html; charset=utf-8"));
|
||||
svr->Get("/EN_systemPrompts.js", handle_static_file(EN_systemPrompts_js, EN_systemPrompts_js_len, "text/javascript; charset=utf-8"));
|
||||
svr->Get("/promptFormats.js", handle_static_file(promptFormats_js, promptFormats_js_len, "text/javascript; charset=utf-8"));
|
||||
svr->Get("/system-prompts.js", handle_static_file(system_prompts_js, system_prompts_js_len, "text/javascript; charset=utf-8"));
|
||||
svr->Get("/prompt-format.js", handle_static_file(prompt_format_js, prompt_format_js_len, "text/javascript; charset=utf-8"));
|
||||
|
||||
// register API routes
|
||||
svr->Get ("/health", handle_health);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue