kenken999 commited on
Commit
1940551
1 Parent(s): c46a2af
chat_history.db CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8c610e9723aef9afb660d94b9e20e1b9df577eef48658520aaaddb49d8a80685
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 = 'https://kenken999-nodex-n8n.hf.space/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3f'
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
- post_data('https://kenken999-nodex-n8n.hf.space/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3f',text,thread_name)
 
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}"""