mirror of
https://github.com/openai/openai-go.git
synced 2026-03-31 08:37:22 +09:00
chore: fix empty interfaces
This commit is contained in:
@@ -35,7 +35,7 @@ func TestFineTuningAlphaGraderRunWithOptionalParams(t *testing.T) {
|
||||
},
|
||||
},
|
||||
ModelSample: "model_sample",
|
||||
Item: map[string]interface{}{},
|
||||
Item: map[string]any{},
|
||||
})
|
||||
if err != nil {
|
||||
var apierr *openai.Error
|
||||
|
||||
@@ -94,7 +94,7 @@ func TestCallAcceptWithOptionalParams(t *testing.T) {
|
||||
OfFunction: &realtime.RealtimeFunctionToolParam{
|
||||
Description: openai.String("description"),
|
||||
Name: openai.String("name"),
|
||||
Parameters: map[string]interface{}{},
|
||||
Parameters: map[string]any{},
|
||||
Type: realtime.RealtimeFunctionToolTypeFunction,
|
||||
},
|
||||
}},
|
||||
|
||||
@@ -96,7 +96,7 @@ func TestClientSecretNewWithOptionalParams(t *testing.T) {
|
||||
OfFunction: &realtime.RealtimeFunctionToolParam{
|
||||
Description: openai.String("description"),
|
||||
Name: openai.String("name"),
|
||||
Parameters: map[string]interface{}{},
|
||||
Parameters: map[string]any{},
|
||||
Type: realtime.RealtimeFunctionToolTypeFunction,
|
||||
},
|
||||
}},
|
||||
|
||||
Reference in New Issue
Block a user