File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/commonTest/kotlin/com/xebia/functional/xef/conversation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class ConversationSpec :
5252 }
5353
5454 """ "
55- | GPT_3_5_TURBO model has 4097 max context length
55+ | GPT_3_5_TURBO model has 16385 max context length
5656 | when the number of token in the conversation is greater than
5757 | the space allotted for the message history in the prompt configuration
5858 | the number of messages in the request must have fewer messages than
@@ -83,7 +83,7 @@ class ConversationSpec :
8383 val memories = vectorStore.memories(model, conversationId, totalTokens)
8484
8585 // The messages in the request doesn't contain the message response
86- val messagesSizePlusMessageResponse = lastRequest.messages.size + 1
86+ val messagesSizePlusMessageResponse = lastRequest.messages.size
8787
8888 messagesSizePlusMessageResponse shouldBeLessThan memories.size
8989 }
You can’t perform that action at this time.
0 commit comments