:recycle: [Feature] Move chat_operator.js to components
Browse files
components/buttons_binder.js
CHANGED
@@ -6,7 +6,7 @@ import {
|
|
6 |
get_latest_message_content_displayer,
|
7 |
scroll_to_bottom,
|
8 |
set_user_scroll_status,
|
9 |
-
} from "
|
10 |
|
11 |
export function bind_chat_buttons() {
|
12 |
let send_user_input_binder = new SendUserInputButtonBinder();
|
|
|
6 |
get_latest_message_content_displayer,
|
7 |
scroll_to_bottom,
|
8 |
set_user_scroll_status,
|
9 |
+
} from "./chat_operator.js";
|
10 |
|
11 |
export function bind_chat_buttons() {
|
12 |
let send_user_input_binder = new SendUserInputButtonBinder();
|
{js → components}/chat_operator.js
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
import { Messager, MessagerList } from "
|
2 |
import { transform_footnote } from "../converters/stream_jsonizer.js";
|
3 |
|
4 |
let messagers_container = $("#messagers-container");
|
|
|
1 |
+
import { Messager, MessagerList } from "./messager.js";
|
2 |
import { transform_footnote } from "../converters/stream_jsonizer.js";
|
3 |
|
4 |
let messagers_container = $("#messagers-container");
|
networks/llm_requester.js
CHANGED
@@ -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 "../components/chat_operator.js";
|
12 |
|
13 |
function concat_urls(...urls) {
|
14 |
let new_url = urls
|