changed what models are used

This commit is contained in:
2024-11-25 20:54:35 +13:00
parent 1718953677
commit a6661ca102
2 changed files with 3 additions and 6 deletions

View File

@@ -42,9 +42,8 @@ while true; do
-H "Authorization: Bearer $OPENAI_API_KEY" \ -H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{ -d '{
"model": "gpt-3.5-turbo", "model": "gpt-4o",
"messages": '"$conversation_history"', "messages": '"$conversation_history"'
"max_tokens": 150
}') }')
# Extract the assistant's response # Extract the assistant's response

View File

@@ -26,9 +26,7 @@ PROJECT_ID=proj_pCrxzr6NUI5WkiqMF5JNp2Ou
## ] ## ]
# }' # }'
conversation_history='[ conversation_history='[]'
{"role": "system", "content": "You are ChatGPT, an AI that assists with conversations."}
]'
while true; do while true; do
# Read user input # Read user input