Skip to content

Commit 2aaa980

Browse files
chore: fix empty interfaces
1 parent fbadb4e commit 2aaa980

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

finetuningalphagrader_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func TestFineTuningAlphaGraderRunWithOptionalParams(t *testing.T) {
3535
},
3636
},
3737
ModelSample: "model_sample",
38-
Item: map[string]interface{}{},
38+
Item: map[string]any{},
3939
})
4040
if err != nil {
4141
var apierr *openai.Error

realtime/call_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func TestCallAcceptWithOptionalParams(t *testing.T) {
9494
OfFunction: &realtime.RealtimeFunctionToolParam{
9595
Description: openai.String("description"),
9696
Name: openai.String("name"),
97-
Parameters: map[string]interface{}{},
97+
Parameters: map[string]any{},
9898
Type: realtime.RealtimeFunctionToolTypeFunction,
9999
},
100100
}},

realtime/clientsecret_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func TestClientSecretNewWithOptionalParams(t *testing.T) {
9696
OfFunction: &realtime.RealtimeFunctionToolParam{
9797
Description: openai.String("description"),
9898
Name: openai.String("name"),
99-
Parameters: map[string]interface{}{},
99+
Parameters: map[string]any{},
100100
Type: realtime.RealtimeFunctionToolTypeFunction,
101101
},
102102
}},

0 commit comments

Comments
 (0)