Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files- controllers/gpt_enginner20240623160854 +1 -0
- controllers/gpt_enginner20240623161556 +1 -0
- controllers/gpt_enginner20240623162033 +1 -0
- controllers/gpt_enginner20240623162445 +1 -0
- controllers/gpt_enginner20240623162831 +1 -0
- controllers/gpt_enginner20240623163539 +1 -0
- controllers/gpt_enginner20240623163713 +1 -0
- controllers/gpt_enginner20240623163823 +1 -0
- controllers/gpt_enginner20240623164330 +1 -0
- controllers/gpt_enginner20240623164440 +1 -0
- controllers/gpt_enginner20240623164548 +1 -0
- controllers/gpt_enginner20240623164820 +1 -0
- controllers/gpt_enginner20240623164957 +1 -0
- controllers/gpt_enginner20240623165954 +1 -0
- controllers/gpt_enginner20240623171320 +1 -0
- controllers/gpt_enginner20240623171517 +1 -0
- controllers/gpt_enginner20240623171624 +1 -0
- controllers/gpt_enginner20240623171735 +1 -0
- controllers/gpt_enginner20240623171851 +1 -0
- controllers/gpt_enginner20240623172001 +1 -0
- controllers/gpt_enginner20240623172110 +1 -0
- controllers/gpt_enginner20240623172442 +1 -0
- mysite/routers/fastapi.py +3 -1
controllers/gpt_enginner20240623160854
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit d2d9edf31bc432ed5b08674c02e902228c374953
|
controllers/gpt_enginner20240623161556
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 7b4780687009044d48d8036d9ec20c8e66f531da
|
controllers/gpt_enginner20240623162033
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 60abbde7b40b10e9727e28177e937d81bd539e48
|
controllers/gpt_enginner20240623162445
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 1ec6fde75c458b091b5028b01bb6a7aca52888a3
|
controllers/gpt_enginner20240623162831
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 5fc3e87f71dc127e62171a6ad4113bb217bc27b7
|
controllers/gpt_enginner20240623163539
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 9576438d6eabba60a5462e95f23c408fd0cb2276
|
controllers/gpt_enginner20240623163713
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit cbd207ca41627a091fcdd4e51c25cebd19899f5f
|
controllers/gpt_enginner20240623163823
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit f79286dffec06416b1288c4e678d580ea120543c
|
controllers/gpt_enginner20240623164330
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit d6b839013c2b2efe6b29e520a56077ee1a162ec6
|
controllers/gpt_enginner20240623164440
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 80d68c133f1764562d14331c8eaacebba514f411
|
controllers/gpt_enginner20240623164548
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 2b4c1213c616de980d2b85a38dcfde7cd505286a
|
controllers/gpt_enginner20240623164820
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 201af1efcfe8cdd4bdafbce93bc75c12222ad589
|
controllers/gpt_enginner20240623164957
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit c5c237dbd890a63651e73a702f11fb1e72632519
|
controllers/gpt_enginner20240623165954
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 5202385968acd42241efee41949497ad8e611116
|
controllers/gpt_enginner20240623171320
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 2912fd77575dddc040f23d55c2168b00e39f7688
|
controllers/gpt_enginner20240623171517
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit efb6c3d75cf40dfd203a5108b39f9f305fa3d86b
|
controllers/gpt_enginner20240623171624
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 1b8f6c59aebed19ff25ecf1316c5ddd59fedcd2c
|
controllers/gpt_enginner20240623171735
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 8f7362850948ad95912ba8075e9685dec7c0297c
|
controllers/gpt_enginner20240623171851
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit acfc741cdbfa907c39ec1415aaf2b76ea769d4c7
|
controllers/gpt_enginner20240623172001
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 3d59e0f15128b4a24c2fafddf15068807dd534c0
|
controllers/gpt_enginner20240623172110
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 2042d56ac6aebd4ab9c860f107524796ccbdb791
|
controllers/gpt_enginner20240623172442
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit baa0599440c57938bb3e4bb993b37fbe20d42aeb
|
mysite/routers/fastapi.py
CHANGED
@@ -269,6 +269,7 @@ def setup_webhook_routes(app: FastAPI):
|
|
269 |
"""
|
270 |
logger.info("Received Headers: %s", received_headers)
|
271 |
logger.info("Received Body: %s", body.decode("utf-8"))
|
|
|
272 |
#send to appsheet
|
273 |
get_senario("user_id",str(body))
|
274 |
#apps script send
|
@@ -305,7 +306,7 @@ def setup_webhook_routes(app: FastAPI):
|
|
305 |
logger.info("Response Content: %s", response.text)
|
306 |
logger.info("Response Headers: %s", response.headers)
|
307 |
|
308 |
-
return {"status": "success", "response_content": response.text}
|
309 |
|
310 |
except Exception as e:
|
311 |
error_file = os.path.basename(__file__) # ファイル名を取得
|
@@ -327,3 +328,4 @@ def setup_webhook_routes(app: FastAPI):
|
|
327 |
logger.error("Error: %s", str(e))
|
328 |
#raise するとシステムとまるのでアンコメント
|
329 |
#raise HTTPException(status_code=500, detail=str(e))
|
|
|
|
269 |
"""
|
270 |
logger.info("Received Headers: %s", received_headers)
|
271 |
logger.info("Received Body: %s", body.decode("utf-8"))
|
272 |
+
###############################################################################
|
273 |
#send to appsheet
|
274 |
get_senario("user_id",str(body))
|
275 |
#apps script send
|
|
|
306 |
logger.info("Response Content: %s", response.text)
|
307 |
logger.info("Response Headers: %s", response.headers)
|
308 |
|
309 |
+
return {"status": "success", "response_content": response.text}#, response.status_code
|
310 |
|
311 |
except Exception as e:
|
312 |
error_file = os.path.basename(__file__) # ファイル名を取得
|
|
|
328 |
logger.error("Error: %s", str(e))
|
329 |
#raise するとシステムとまるのでアンコメント
|
330 |
#raise HTTPException(status_code=500, detail=str(e))
|
331 |
+
return {"status": "success", "response_content": str(e)}#, response.status_code
|