@@ -19,7 +19,7 @@ def test_create_assistant(self):
19
19
"model_id" : Config .openai_chat_completion_model_id ,
20
20
"name" : "test" ,
21
21
"description" : "test for assistant" ,
22
- "memory" : AssistantMessageWindowMemory (max_messages = 50 , max_tokens = 2000 ),
22
+ "memory" : AssistantMessageWindowMemory (max_tokens = 2000 ),
23
23
"system_prompt_template" : [
24
24
"You know the meaning of various numbers." ,
25
25
"No matter what the user's language is, you will use the {{langugae}} to explain." ,
@@ -92,7 +92,7 @@ def test_update_assistant(self, assistant_id):
92
92
{
93
93
"name" : "openai" ,
94
94
"description" : "test for openai" ,
95
- "memory" : AssistantMessageWindowMemory (max_messages = 50 , max_tokens = 2000 ),
95
+ "memory" : AssistantMessageWindowMemory (max_tokens = 2000 ),
96
96
"retrievals" : [
97
97
RetrievalRef (
98
98
type = RetrievalType .COLLECTION ,
@@ -301,7 +301,7 @@ def test_generate_message_by_stream(self):
301
301
"model_id" : Config .openai_chat_completion_model_id ,
302
302
"name" : "test" ,
303
303
"description" : "test for assistant" ,
304
- "memory" : AssistantMessageWindowMemory (max_messages = 50 , max_tokens = 2000 ),
304
+ "memory" : AssistantMessageWindowMemory (max_tokens = 2000 ),
305
305
"system_prompt_template" : [
306
306
"You know the meaning of various numbers." ,
307
307
"No matter what the user's language is, you will use the {{langugae}} to explain." ,
@@ -366,7 +366,7 @@ def test_assistant_by_user_message_retrieval_and_stream(self):
366
366
"model_id" : Config .openai_chat_completion_model_id ,
367
367
"name" : "test" ,
368
368
"description" : "test for assistant" ,
369
- "memory" : AssistantMessageWindowMemory (max_messages = 50 , max_tokens = 2000 ),
369
+ "memory" : AssistantMessageWindowMemory (max_tokens = 2000 ),
370
370
"system_prompt_template" : [
371
371
"You know the meaning of various numbers." ,
372
372
"No matter what the user's language is, you will use the {{langugae}} to explain." ,
@@ -413,7 +413,7 @@ def test_assistant_by_memory_retrieval_and_stream(self):
413
413
"model_id" : Config .openai_chat_completion_model_id ,
414
414
"name" : "test" ,
415
415
"description" : "test for assistant" ,
416
- "memory" : AssistantMessageWindowMemory (max_messages = 50 , max_tokens = 2000 ),
416
+ "memory" : AssistantMessageWindowMemory (max_tokens = 2000 ),
417
417
"system_prompt_template" : [
418
418
"You know the meaning of various numbers." ,
419
419
"No matter what the user's language is, you will use the {{langugae}} to explain." ,
@@ -460,7 +460,7 @@ def test_assistant_by_function_call_retrieval_and_stream(self):
460
460
"model_id" : Config .openai_chat_completion_model_id ,
461
461
"name" : "test" ,
462
462
"description" : "test for assistant" ,
463
- "memory" : AssistantMessageWindowMemory (max_messages = 50 , max_tokens = 2000 ),
463
+ "memory" : AssistantMessageWindowMemory (max_tokens = 2000 ),
464
464
"system_prompt_template" : [
465
465
"You know the meaning of various numbers." ,
466
466
"No matter what the user's language is, you will use the {{langugae}} to explain." ,
@@ -507,7 +507,7 @@ def test_assistant_by_not_support_function_call_retrieval_and_stream(self):
507
507
"model_id" : Config .anthropic_chat_completion_model_id ,
508
508
"name" : "test" ,
509
509
"description" : "test for assistant" ,
510
- "memory" : AssistantMessageWindowMemory (max_messages = 50 , max_tokens = 2000 ),
510
+ "memory" : AssistantMessageWindowMemory (max_tokens = 2000 ),
511
511
"system_prompt_template" : [
512
512
"You know the meaning of various numbers." ,
513
513
"No matter what the user's language is, you will use the {{langugae}} to explain." ,
@@ -537,7 +537,7 @@ def test_assistant_by_all_tool_and_stream(self):
537
537
"model_id" : Config .openai_chat_completion_model_id ,
538
538
"name" : "test" ,
539
539
"description" : "test for assistant" ,
540
- "memory" : AssistantMessageWindowMemory (max_messages = 50 , max_tokens = 2000 ),
540
+ "memory" : AssistantMessageWindowMemory (max_tokens = 2000 ),
541
541
"system_prompt_template" : [
542
542
"You know the meaning of various numbers." ,
543
543
"No matter what the user's language is, you will use the {{langugae}} to explain." ,
@@ -583,7 +583,7 @@ def test_assistant_by_not_support_function_call_tool_and_stream(self):
583
583
"model_id" : Config .anthropic_chat_completion_model_id ,
584
584
"name" : "test" ,
585
585
"description" : "test for assistant" ,
586
- "memory" : AssistantMessageWindowMemory (max_messages = 50 , max_tokens = 2000 ),
586
+ "memory" : AssistantMessageWindowMemory (max_tokens = 2000 ),
587
587
"system_prompt_template" : [
588
588
"You know the meaning of various numbers." ,
589
589
"No matter what the user's language is, you will use the {{langugae}} to explain." ,
0 commit comments