From 8f1f8e07c349d1dde59efb5ef0b72af5d465e135 Mon Sep 17 00:00:00 2001 From: robgruen Date: Tue, 2 Jun 2026 09:32:07 -0700 Subject: [PATCH 1/5] removed embedding specific endpoint --- src/typechat/OpenAIConfig.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/typechat/OpenAIConfig.cs b/src/typechat/OpenAIConfig.cs index bde1f88..2ef4bcd 100644 --- a/src/typechat/OpenAIConfig.cs +++ b/src/typechat/OpenAIConfig.cs @@ -149,11 +149,6 @@ public static OpenAIConfig FromEnvironment(bool isEmbedding = false) } if (isEmbedding) { - if (Environment.GetEnvironmentVariable(VariableNames.OPENAI_EMBEDDING_ENDPOINT) != null) - { - config.Endpoint = Environment.GetEnvironmentVariable(VariableNames.OPENAI_EMBEDDING_ENDPOINT); - } - config.Model = Environment.GetEnvironmentVariable(VariableNames.OPENAI_EMBEDDINGMODEL); } else From 1a445d833055e73e73bccae6c6c9e265e1de971b Mon Sep 17 00:00:00 2001 From: robgruen Date: Tue, 2 Jun 2026 10:03:32 -0700 Subject: [PATCH 2/5] removed embedding specific endpoint --- src/typechat/OpenAIConfig.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/typechat/OpenAIConfig.cs b/src/typechat/OpenAIConfig.cs index 2ef4bcd..6c4128b 100644 --- a/src/typechat/OpenAIConfig.cs +++ b/src/typechat/OpenAIConfig.cs @@ -39,11 +39,6 @@ public static class VariableNames /// public const string OPENAI_EMBEDDINGMODEL = "OPENAI_EMBEDDINGMODEL"; - /// - /// The embedding endpoint to use - /// - public const string OPENAI_EMBEDDING_ENDPOINT = "OPENAI_EMBEDDING_ENDPOINT"; - /// /// Api key to use for Azure OpenAI service /// From 9792c08374401676fa5f255827739593e64ecbbd Mon Sep 17 00:00:00 2001 From: robgruen Date: Tue, 2 Jun 2026 10:14:29 -0700 Subject: [PATCH 3/5] removed embedding endpoint --- .github/workflows/integration_tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 07058d5..da26e28 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -99,6 +99,5 @@ jobs: AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_API_KEY }} OPENAI_MODEL: ${{ secrets.AZURE_COMPLETION_MODEL }} OPENAI_EMBEDDINGMODEL: ${{ secrets.AZURE_EMBEDDING_MODEL }} - OPENAI_EMBEDDING_ENDPOINT: ${{ secrets.OPENAI_EMBEDDING_ENDPOINT }} run: | dotnet test -c ${{ matrix.configuration }} tests/TypeChat.IntegrationTests/TypeChat.IntegrationTests.csproj --no-build -v Normal --logger trx From ae7ff93ea8e840fa402243f2ccc8d15b0513273d Mon Sep 17 00:00:00 2001 From: robgruen Date: Tue, 2 Jun 2026 10:40:44 -0700 Subject: [PATCH 4/5] removed development environment --- .github/workflows/integration_tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index da26e28..7c715b0 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -25,7 +25,6 @@ permissions: jobs: build-integrationtest: - environment: development strategy: fail-fast: false matrix: From c764199fccc6483c35ad51c8a9fea03e520aa685 Mon Sep 17 00:00:00 2001 From: robgruen Date: Tue, 2 Jun 2026 10:46:38 -0700 Subject: [PATCH 5/5] Add environment setting to integration tests workflow --- .github/workflows/integration_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 7c715b0..da26e28 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -25,6 +25,7 @@ permissions: jobs: build-integrationtest: + environment: development strategy: fail-fast: false matrix: