kenken999 commited on
Commit
1832907
Β·
1 Parent(s): e267e3d
chat_history.db CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8aac8d8f5254ee3b6da0e91c10737abe060a2bf588dafd9346aa8fb21a5c53d6
3
- size 1167360
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a17b1eb2152a4aaabda3a8d79f4fa4ec303b843373a6b57627eedc9772c7eb0
3
+ size 1191936
controllers/gpt_enginner20240625112313 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 63646c3a8bfd79b7d6b537e7acbe70704ec1cf70
controllers/gpt_enginner20240625112504 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 4690d54500a3ab5fb31d0320e446546f57a2b76e
controllers/gpt_enginner20240625112635 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 770a2efac288c05f0b329472fc99ca3ff296e81d
mysite/routers/fastapi.py CHANGED
@@ -240,8 +240,10 @@ 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
  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}"""
 
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
+ import time
244
  n8nurl = os.getenv("n8nhook")
245
  post_data(n8nurl,text,thread_name)
246
+ time.sleep(10)
247
  #########################################################################
248
  title = f""" γƒ—γƒ­γƒ³γƒ—γƒˆδ½œζˆ {promps}"""
249
  subtitle = f"""userid {user_id}\r\n chatid {thread_name}\r\n{prompt_res}"""