Промежуточный коммит. Добавлены методы stream_responce (agent), generate_stream_token (ollamaprovider)

This commit is contained in:
2026-05-12 22:24:39 +03:00
parent 3b4c8a1151
commit 30ce868764
8 changed files with 67 additions and 9 deletions
+3 -1
View File
@@ -36,6 +36,7 @@ def init():
#запрос на генерацию
@ui.route("/chat", methods=["POST"])
#@ui.route("/stream", methods=["POST"])
def chat():
data = request.json
@@ -51,11 +52,12 @@ def chat():
})
"""#список персонажей
#список персонажей
@ui.route("/characters", methods=["GET"])
def get_characters():
return Agent.get_all_char_info()
"""
#выбор персонажа (не робит)
@ui.route("/select_character", methods=["POST"])
def select_character():