Adds async update from flask with other content

This commit is contained in:
kvan7 2024-01-22 03:23:35 +00:00
parent b50ef14dce
commit f797519944
9 changed files with 49 additions and 61 deletions

View file

@ -11,6 +11,5 @@ def post_search(request, search: SearchWithPlugins) -> None:
search_request = search.search_query
container = search.result_container
# container.infoboxes.append(container.infoboxes[0])
container.chat_box = {'chat_box': 'hello world'}
print(container.infoboxes)
print("HELLO WORLD =====================================================================")
container.chat_box = [{'chat_box': 'hello world'}]
container.chat_box[0]['content'] = 'some string that relates to your search query here' + f'\n{search_request.query}'