Skip to content
Snippets Groups Projects
Unverified Commit 760bde46 authored by Motoki saito's avatar Motoki saito Committed by GitHub
Browse files

elasticsearch user agent regex update (#9831) (#9832)

parent 15b5c38a
No related branches found
No related tags found
No related merge requests found
......@@ -464,7 +464,7 @@ def test_check_user_agent(
user_agent = es_client_instance.transport.requests[0]["headers"][ # type: ignore
"user-agent"
]
pattern = r"^llama_index-py-vs/\d+\.\d+\.\d+$"
pattern = r"^llama_index-py-vs/\d+\.\d+\.\d+(\.post\d+)?$"
match = re.match(pattern, user_agent)
assert (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment