Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mcjustin committed Oct 23, 2024
1 parent 155a61b commit 86d7974
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def chat():
model="gpt-4o-mini-2024-07-18",
messages=data['messages']
)
return jsonify(response.choices[0].message)
# return jsonify(response.choices[0].message)
return response.choices[0].message

@app.route('/api/go', methods=['GET'])
def go():
Expand Down

0 comments on commit 86d7974

Please sign in to comment.