:recycle: [Refactor] Move llm_requester.js to networks
Browse files
components/buttons_binder.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import { ChatCompletionsRequester } from "../
|
2 |
import {
|
3 |
stop_latest_message_animation,
|
4 |
start_latest_message_animation,
|
|
|
1 |
+
import { ChatCompletionsRequester } from "../networks/llm_requester.js";
|
2 |
import {
|
3 |
stop_latest_message_animation,
|
4 |
start_latest_message_animation,
|
components/llm_models_loader.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import {
|
2 |
request_available_models,
|
3 |
available_models,
|
4 |
-
} from "../
|
5 |
|
6 |
export async function setup_available_models_on_select(default_option = null) {
|
7 |
var select = $("#available-models-select");
|
|
|
1 |
import {
|
2 |
request_available_models,
|
3 |
available_models,
|
4 |
+
} from "../networks/llm_requester.js";
|
5 |
|
6 |
export async function setup_available_models_on_select(default_option = null) {
|
7 |
var select = $("#available-models-select");
|
{js → networks}/llm_requester.js
RENAMED
@@ -8,7 +8,7 @@ import {
|
|
8 |
get_request_messages,
|
9 |
get_selected_llm_model,
|
10 |
get_selected_temperature,
|
11 |
-
} from "
|
12 |
|
13 |
function concat_urls(...urls) {
|
14 |
let new_url = urls
|
|
|
8 |
get_request_messages,
|
9 |
get_selected_llm_model,
|
10 |
get_selected_temperature,
|
11 |
+
} from "../js/chat_operator.js";
|
12 |
|
13 |
function concat_urls(...urls) {
|
14 |
let new_url = urls
|