From 270b98faa4c2cbddf34d152c203f29cf922a842d Mon Sep 17 00:00:00 2001 From: Ciprian Jichici Date: Sat, 21 Dec 2024 18:34:19 +0200 Subject: [PATCH] Transform polling interval to double for PollingHttpClient --- src/dotnet/Common/Middleware/CallContextMiddleware.cs | 3 --- .../Models/ConfigurationOptions/LangChainServiceSettings.cs | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/dotnet/Common/Middleware/CallContextMiddleware.cs b/src/dotnet/Common/Middleware/CallContextMiddleware.cs index 3bf84af37..626f6602d 100644 --- a/src/dotnet/Common/Middleware/CallContextMiddleware.cs +++ b/src/dotnet/Common/Middleware/CallContextMiddleware.cs @@ -1,11 +1,8 @@ using FoundationaLLM.Common.Authentication; using FoundationaLLM.Common.Constants.Instance; -using FoundationaLLM.Common.Constants.ResourceProviders; using FoundationaLLM.Common.Interfaces; using FoundationaLLM.Common.Models.Authentication; using FoundationaLLM.Common.Models.Configuration.Instance; -using FoundationaLLM.Common.Models.ResourceProviders.Agent.AgentAccessTokens; -using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; using System.Text.Json; diff --git a/src/dotnet/Orchestration/Models/ConfigurationOptions/LangChainServiceSettings.cs b/src/dotnet/Orchestration/Models/ConfigurationOptions/LangChainServiceSettings.cs index 70e5229a0..28fd90547 100644 --- a/src/dotnet/Orchestration/Models/ConfigurationOptions/LangChainServiceSettings.cs +++ b/src/dotnet/Orchestration/Models/ConfigurationOptions/LangChainServiceSettings.cs @@ -8,7 +8,7 @@ public class LangChainServiceSettings /// /// The polling interval in seconds to check the status of the LangChain service. /// - public int PollingIntervalSeconds { get; set; } = 10; + public double PollingIntervalSeconds { get; set; } = 10; } }