From 4a1f7486cc12be59bcc84eea4b0efac1361d0921 Mon Sep 17 00:00:00 2001 From: ChalkyMuffin Date: Wed, 19 Jun 2024 11:09:35 -0600 Subject: [PATCH] test --- .github/workflows/production.yaml | 8 ++++++-- saraia/IA/__pycache__/config.cpython-310.pyc | Bin 292 -> 294 bytes saraia/IA/test.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index 75ed69d..1955173 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -29,8 +29,12 @@ jobs: run: npm install working-directory: ./saraia - #- name: Run tests - # run: npm test + + + - name: Run tests + run: npm test + working-directory: ./saraia./testing_A00833278 + diff --git a/saraia/IA/__pycache__/config.cpython-310.pyc b/saraia/IA/__pycache__/config.cpython-310.pyc index 2531c0b8b49f6356ad2eb8bca8b4751961d1d5d0..b9bea22504abe3bf70658754613dd53a4c655cc0 100644 GIT binary patch delta 88 zcmZ3&w2X;2pO=@50SFc-=cOH)$eY9%HL<{0n*%6P1R{RLCR@dX7N-^!$0Vi{WhTbB m9aEfGln9jcbc~tAr~&|0&l{xx delta 87 zcmZ3+w1kN_pO=@50SHPCr>E_m$eYA?Yhr=1CMQs&2t@pf*3Zb#P1R4%NX*Hu)OX2G mF3nBND=F4@&n)pMP12uuPLo@|II$=(Gg05uQGYTMqY40AnHrk_ diff --git a/saraia/IA/test.py b/saraia/IA/test.py index 7c7d4fa..54ac40c 100644 --- a/saraia/IA/test.py +++ b/saraia/IA/test.py @@ -383,7 +383,7 @@ def get_ai_response(): if not user_id or not team_id or not message: return jsonify({"error": "Missing user_id, team_id, or message"}) - chatbot = Sara(int(team_id), (user_id)) + chatbot = Sara((team_id), (user_id)) add_new_user_message(message, user_id, team_id) response = chatbot.run(message) return jsonify({"response": response})