Spaces:
Running
on
Zero
Running
on
Zero
fda
Browse files
chat_history.db
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1159168
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:db0ed6628b37487693a751d6f3750d825b89ea318b56e90c02a82e5bbde4e101
|
3 |
size 1159168
|
command/n8n.py
CHANGED
@@ -24,7 +24,7 @@ def post_data(url, word, thread):
|
|
24 |
return response
|
25 |
|
26 |
# 使用例
|
27 |
-
#url = '
|
28 |
#word = 'example_word'
|
29 |
#thread = 'example_thread'
|
30 |
#post_data(url, word, thread)
|
|
|
24 |
return response
|
25 |
|
26 |
# 使用例
|
27 |
+
#url = ''
|
28 |
#word = 'example_word'
|
29 |
#thread = 'example_thread'
|
30 |
#post_data(url, word, thread)
|
controllers/gpt_enginner20240625111050
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 193a5447e032859592eb22166d6d4bf7cfdc37bb
|
controllers/gra_02_openInterpreter/chat_history.db
CHANGED
Binary files a/controllers/gra_02_openInterpreter/chat_history.db and b/controllers/gra_02_openInterpreter/chat_history.db differ
|
|
mysite/routers/fastapi.py
CHANGED
@@ -240,7 +240,8 @@ def setup_webhook_routes(app: FastAPI):
|
|
240 |
#test_set_lide(subtitle, text)
|
241 |
thread_name = send_google_chat_card(webhook_url, title, subtitle, link_text, link_url,thmbnail)
|
242 |
from command.n8n import post_data
|
243 |
-
|
|
|
244 |
#########################################################################
|
245 |
title = f""" プロンプト作成 {promps}"""
|
246 |
subtitle = f"""userid {user_id}\r\n chatid {thread_name}\r\n{prompt_res}"""
|
|
|
240 |
#test_set_lide(subtitle, text)
|
241 |
thread_name = send_google_chat_card(webhook_url, title, subtitle, link_text, link_url,thmbnail)
|
242 |
from command.n8n import post_data
|
243 |
+
n8nurl = os.getenv("n8nhook")
|
244 |
+
post_data(n8nurl,text,thread_name)
|
245 |
#########################################################################
|
246 |
title = f""" プロンプト作成 {promps}"""
|
247 |
subtitle = f"""userid {user_id}\r\n chatid {thread_name}\r\n{prompt_res}"""
|