@@ -162,7 +162,7 @@ evaluators:
162162 cfg := command .NewConfig (out , out , client , true , 100 )
163163
164164 // Mock a response that returns "4" for the LLM evaluator
165- client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org , httpLogFile string ) (* azuremodels.ChatCompletionResponse , error ) {
165+ client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org string ) (* azuremodels.ChatCompletionResponse , error ) {
166166 reader := sse .NewMockEventReader ([]azuremodels.ChatCompletion {
167167 {
168168 Choices : []azuremodels.ChatChoice {
@@ -228,7 +228,7 @@ evaluators:
228228 client := azuremodels .NewMockClient ()
229229
230230 // Mock a simple response
231- client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org , httpLogFile string ) (* azuremodels.ChatCompletionResponse , error ) {
231+ client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org string ) (* azuremodels.ChatCompletionResponse , error ) {
232232 // Create a mock reader that returns "test response"
233233 reader := sse .NewMockEventReader ([]azuremodels.ChatCompletion {
234234 {
@@ -284,7 +284,7 @@ evaluators:
284284 client := azuremodels .NewMockClient ()
285285
286286 // Mock a response that will fail the evaluator
287- client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org , httpLogFile string ) (* azuremodels.ChatCompletionResponse , error ) {
287+ client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org string ) (* azuremodels.ChatCompletionResponse , error ) {
288288 reader := sse .NewMockEventReader ([]azuremodels.ChatCompletion {
289289 {
290290 Choices : []azuremodels.ChatChoice {
@@ -347,7 +347,7 @@ evaluators:
347347
348348 // Mock responses for both test cases
349349 callCount := 0
350- client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org , httpLogFile string ) (* azuremodels.ChatCompletionResponse , error ) {
350+ client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org string ) (* azuremodels.ChatCompletionResponse , error ) {
351351 callCount ++
352352 var response string
353353 if callCount == 1 {
@@ -445,7 +445,7 @@ evaluators:
445445 require .NoError (t , err )
446446
447447 client := azuremodels .NewMockClient ()
448- client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org , httpLogFile string ) (* azuremodels.ChatCompletionResponse , error ) {
448+ client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org string ) (* azuremodels.ChatCompletionResponse , error ) {
449449 response := "hello world"
450450 reader := sse .NewMockEventReader ([]azuremodels.ChatCompletion {
451451 {
@@ -528,7 +528,7 @@ evaluators:
528528 require .NoError (t , err )
529529
530530 client := azuremodels .NewMockClient ()
531- client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org , httpLogFile string ) (* azuremodels.ChatCompletionResponse , error ) {
531+ client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org string ) (* azuremodels.ChatCompletionResponse , error ) {
532532 response := "hello world"
533533 reader := sse .NewMockEventReader ([]azuremodels.ChatCompletion {
534534 {
@@ -590,7 +590,7 @@ evaluators:
590590
591591 client := azuremodels .NewMockClient ()
592592 var capturedRequest azuremodels.ChatCompletionOptions
593- client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org , httpLogFile string ) (* azuremodels.ChatCompletionResponse , error ) {
593+ client .MockGetChatCompletionStream = func (ctx context.Context , req azuremodels.ChatCompletionOptions , org string ) (* azuremodels.ChatCompletionResponse , error ) {
594594 capturedRequest = req
595595 response := `{"message": "hello world", "confidence": 0.95}`
596596 reader := sse .NewMockEventReader ([]azuremodels.ChatCompletion {
0 commit comments