:recycle: [Refactor] Move ScreenScroller and StreamJsonizer
Browse files
components/buttons_binder.js
CHANGED
@@ -9,7 +9,7 @@ import {
|
|
9 |
} from "./chat_operator.js";
|
10 |
import { setup_available_models_on_select } from "./llm_models_loader.js";
|
11 |
|
12 |
-
import { screen_scroller } from "
|
13 |
|
14 |
export class ButtonsBinder {
|
15 |
constructor() { }
|
|
|
9 |
} from "./chat_operator.js";
|
10 |
import { setup_available_models_on_select } from "./llm_models_loader.js";
|
11 |
|
12 |
+
import { screen_scroller } from "./screen_scroller.js";
|
13 |
|
14 |
export class ButtonsBinder {
|
15 |
constructor() { }
|
components/chat_operator.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import { Messager, MessagerList } from "./messager.js";
|
2 |
-
import { transform_footnote } from "../
|
3 |
-
import { screen_scroller } from "
|
4 |
|
5 |
let messagers_container = $("#messagers-container");
|
6 |
let available_models_select = $("#available-models-select");
|
|
|
1 |
import { Messager, MessagerList } from "./messager.js";
|
2 |
+
import { transform_footnote } from "../networks/stream_jsonizer.js";
|
3 |
+
import { screen_scroller } from "./screen_scroller.js";
|
4 |
|
5 |
let messagers_container = $("#messagers-container");
|
6 |
let available_models_select = $("#available-models-select");
|
storage/states.js β components/screen_scroller.js
RENAMED
File without changes
|
networks/llm_requester.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import {
|
2 |
jsonize_stream_data,
|
3 |
stringify_stream_bytes,
|
4 |
-
} from "
|
5 |
import {
|
6 |
update_message,
|
7 |
create_messager,
|
|
|
1 |
import {
|
2 |
jsonize_stream_data,
|
3 |
stringify_stream_bytes,
|
4 |
+
} from "./stream_jsonizer.js";
|
5 |
import {
|
6 |
update_message,
|
7 |
create_messager,
|
{converters β networks}/stream_jsonizer.js
RENAMED
File without changes
|