Skip to content

Commit

Permalink
[azopenai] Updating hash to merged PR. (#22998)
Browse files Browse the repository at this point in the history
  • Loading branch information
glecaros authored Jun 5, 2024
1 parent 9c4f5c5 commit 5eb479f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sdk/ai/azopenai/client_shared_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func newRecordingTransporter(t *testing.T) policy.Transporter {
err = recording.AddHeaderRegexSanitizer("Api-Key", fakeAPIKey, "", nil)
require.NoError(t, err)

err = recording.AddHeaderRegexSanitizer("Uer-Agent", "fake-user-agent", "", nil)
err = recording.AddHeaderRegexSanitizer("User-Agent", "fake-user-agent", "", nil)
require.NoError(t, err)

err = recording.AddURISanitizer("/openai/operations/images/00000000-AAAA-BBBB-CCCC-DDDDDDDDDDDD", "/openai/operations/images/[A-Za-z-0-9]+", nil)
Expand Down Expand Up @@ -360,7 +360,7 @@ func getEndpoint(ev string, azure bool) string {
v := getEnvVariable(ev, fakeEP)

if !strings.HasSuffix(v, "/") {
// (this just makes recording replacement easier)j
// (this just makes recording replacement easier)
v += "/"
}

Expand Down
3 changes: 1 addition & 2 deletions sdk/ai/azopenai/testdata/tsp-location.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
directory: specification/cognitiveservices/OpenAI.Inference
# https://github.com/Azure/azure-rest-api-specs/pull/29182
commit: dabebc4e3ef2794a801b4d546425b37e7cfaabdd
commit: f6fbf63641332dd06c025d995a82dc090a5f6fad
repo: Azure/azure-rest-api-specs

0 comments on commit 5eb479f

Please sign in to comment.