Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChalkyMuffin committed Jun 19, 2024
1 parent 66fea7d commit 4a1f748
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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




Expand Down
Binary file modified saraia/IA/__pycache__/config.cpython-310.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion saraia/IA/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 4a1f748

Please sign in to comment.