From 7ef434585f14fe42dc8c61de6e86b500084fc0c8 Mon Sep 17 00:00:00 2001 From: Leighton Chen Date: Mon, 9 Dec 2024 13:38:51 -0800 Subject: [PATCH] test --- ...tion_with_content.yaml => test_chat_with_content.yaml} | 8 ++++---- .../{test_chat_completions.py => test_client_chat.py} | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/cassettes/{test_chat_completion_with_content.yaml => test_chat_with_content.yaml} (93%) rename instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/{test_chat_completions.py => test_client_chat.py} (99%) diff --git a/instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/cassettes/test_chat_completion_with_content.yaml b/instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/cassettes/test_chat_with_content.yaml similarity index 93% rename from instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/cassettes/test_chat_completion_with_content.yaml rename to instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/cassettes/test_chat_with_content.yaml index 030685c311..5bd178b8bf 100644 --- a/instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/cassettes/test_chat_completion_with_content.yaml +++ b/instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/cassettes/test_chat_with_content.yaml @@ -40,7 +40,7 @@ interactions: body: string: |- { - "id": "e7d8e128-c2b6-452b-9274-a52298d4e279", + "id": "d6c6c01a-e089-47be-aa35-8e342a2425e6", "message": { "role": "assistant", "content": [ @@ -77,7 +77,7 @@ interactions: content-type: - application/json date: - - Mon, 09 Dec 2024 21:18:26 GMT + - Mon, 09 Dec 2024 21:38:34 GMT expires: - Thu, 01 Jan 1970 00:00:00 UTC num_chars: @@ -93,11 +93,11 @@ interactions: x-accel-expires: - '0' x-debug-trace-id: - - afec42690070e90f99584d392dcd1d5d + - 5f3eace25a51f8493ce35165bd0e83e6 x-endpoint-monthly-call-limit: - '1000' x-envoy-upstream-service-time: - - '192' + - '196' x-trial-endpoint-call-limit: - '40' x-trial-endpoint-call-remaining: diff --git a/instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/test_chat_completions.py b/instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/test_client_chat.py similarity index 99% rename from instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/test_chat_completions.py rename to instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/test_client_chat.py index a910d1685b..4d2d719e75 100644 --- a/instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/test_chat_completions.py +++ b/instrumentation-genai/opentelemetry-instrumentation-cohere-v2/tests/test_client_chat.py @@ -34,7 +34,7 @@ @pytest.mark.vcr() -def test_chat_completion_with_content( +def test_chat_with_content( span_exporter, log_exporter, instrument_with_content, cohere_client ): llm_model_value = "command-r-plus"