From 004fb809b71959f2d309e51c3ff5c7f460c55b59 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Mar 2026 20:00:14 +0000 Subject: [PATCH 1/2] Initial plan From a3fd0d337b9d97d7ab24cee6d079ebd3322a3959 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Mar 2026 20:01:08 +0000 Subject: [PATCH 2/2] Fix E501 linting error: split long TRANSIENT_OPENAI_ERRORS line Co-authored-by: sbaidachni <10055252+sbaidachni@users.noreply.github.com> --- src/custom_skills/VectorEmbed/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/custom_skills/VectorEmbed/__init__.py b/src/custom_skills/VectorEmbed/__init__.py index ac67e8b..e11225b 100644 --- a/src/custom_skills/VectorEmbed/__init__.py +++ b/src/custom_skills/VectorEmbed/__init__.py @@ -14,7 +14,9 @@ ) REQUEST_SCHEMA_PATH = os.path.join(os.path.dirname(__file__), "request_schema.json") -TRANSIENT_OPENAI_ERRORS = (openai.RateLimitError, openai.APIConnectionError, openai.APITimeoutError, openai.InternalServerError) +TRANSIENT_OPENAI_ERRORS = ( + openai.RateLimitError, openai.APIConnectionError, openai.APITimeoutError, openai.InternalServerError +) def function_vector_embed(req: func.HttpRequest) -> func.HttpResponse: