changed what models are used
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user