File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed 
tests/config/conversation Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ func TestLangchainMetadata(t *testing.T) {
2525	t .Run ("json marshaling with endpoint" , func (t  * testing.T ) {
2626		metadata  :=  LangchainMetadata {
2727			Key :      "test-key" ,
28- 			Model :    "gpt-4" ,
28+ 			Model :    "gpt-4.1-nano " ,
2929			CacheTTL : "10m" ,
3030			Endpoint : "https://custom-endpoint.example.com" ,
3131		}
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ metadata:
2424  - name : model 
2525    required : false 
2626    description : | 
27-       The OpenAI LLM to use. Defaults to gpt-4o  
27+       The OpenAI LLM to use. Defaults to gpt-4.1-nano  
2828type : string 
29-     example : ' gpt-4-turbo ' 
29+     example : ' gpt-4.1-nano ' 
3030  - name : endpoint 
3131    required : false 
3232    description : | 
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ func NewOpenAI(logger logger.Logger) conversation.Conversation {
4141	return  o 
4242}
4343
44- const  defaultModel  =  "gpt-4o " 
44+ const  defaultModel  =  "gpt-4.1-nano " 
4545
4646func  (o  * OpenAI ) Init (ctx  context.Context , meta  conversation.Metadata ) error  {
4747	md  :=  conversation.LangchainMetadata {}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ func TestInit(t *testing.T) {
3434			name : "with default endpoint" ,
3535			metadata : map [string ]string {
3636				"key" :   "test-key" ,
37- 				"model" : "gpt-4" ,
37+ 				"model" : "gpt-4.1-nano " ,
3838			},
3939			testFn : func (t  * testing.T , o  * OpenAI , err  error ) {
4040				require .NoError (t , err )
@@ -45,7 +45,7 @@ func TestInit(t *testing.T) {
4545			name : "with custom endpoint" ,
4646			metadata : map [string ]string {
4747				"key" :      "test-key" ,
48- 				"model" :    "gpt-4" ,
48+ 				"model" :    "gpt-4.1-nano " ,
4949				"endpoint" : "https://api.openai.com/v1" ,
5050			},
5151			testFn : func (t  * testing.T , o  * OpenAI , err  error ) {
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ Requires a local Ollama server running with the `llama3.2:latest` model availabl
9595Each component has its own configuration file in this directory:
9696
9797-  ` echo/echo.yml `  - Echo component configuration
98- -  ` openai/openai.yml `  - OpenAI configuration with gpt-4o-mini  model
98+ -  ` openai/openai.yml `  - OpenAI configuration with gpt-4.1-nano  model
9999-  ` anthropic/anthropic.yml `  - Anthropic configuration with Claude 3 Haiku
100100-  ` googleai/googleai.yml `  - Google AI configuration with Gemini 1.5 Flash
101101-  ` mistral/mistral.yml `  - Mistral configuration with open-mistral-7b
Original file line number Diff line number Diff line change 99    - name : key 
1010      value : " ${{OPENAI_API_KEY}}" 
1111    - name : model 
12-       value : " gpt-4o-mini " 
12+       value : " gpt-4.1-nano " 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments