Skip to content

Commit abb1099

Browse files
yyyu-googlecopybara-github
authored andcommitted
feat: migrate Agent Engines, Evaluation, Prompt Management, and Skill features to agentplatform
PiperOrigin-RevId: 914975401
1 parent a5059a8 commit abb1099

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

google/genai/_replay_api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ def _redact_request_headers(headers: dict[str, str]) -> dict[str, str]:
109109
elif header_name.lower() == 'user-agent':
110110
redacted_headers[header_name] = _redact_language_label(
111111
_redact_version_numbers(header_value)
112-
)
112+
).replace('agentplatform-genai-modules', 'vertex-genai-modules')
113113
elif header_name.lower() == 'x-goog-api-client':
114114
redacted_headers[header_name] = _redact_language_label(
115115
_redact_version_numbers(header_value)
116-
)
116+
).replace('agentplatform-genai-modules', 'vertex-genai-modules')
117117
elif header_name.lower() == 'x-goog-user-project':
118118
continue
119119
elif header_name.lower() == 'authorization':

0 commit comments

Comments
 (0)