Skip to content

Commit b746e42

Browse files
committed
Sync naming in some files
1 parent b783806 commit b746e42

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

go/configure_model_parameters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"google.golang.org/genai"
99
)
1010

11-
func ConfigureModel() (*genai.GenerateContentResponse, error) {
11+
func ConfigureModelParameters() (*genai.GenerateContentResponse, error) {
1212
// [START configure_model_parameters]
1313
ctx := context.Background()
1414
client, err := genai.NewClient(ctx, &genai.ClientConfig{

go/configure_model_parameters_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"testing"
55
)
66

7-
func TestConfigureModel(t *testing.T) {
8-
_, err := ConfigureModel()
7+
func TestConfigureModelParameters(t *testing.T) {
8+
_, err := ConfigureModelParameters()
99
if err != nil {
10-
t.Errorf("ConfigureModel returned an error.")
10+
t.Errorf("ConfigureModelParameters returned an error.")
1111
}
1212
}

python/configure_model_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class UnitTests(absltest.TestCase):
1919

20-
def test_configure_model(self):
20+
def test_configure_model_parameters(self):
2121
# [START configure_model_parameters]
2222
from google import genai
2323
from google.genai import types

0 commit comments

Comments
 (0)