Getting "There was a problem completing your request. Please try again" everytime. #166463
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Copilot Feature Area
Visual Studio
Body
Getting "There was a problem completing your request. Please try again" message when the result is being loaded. Tried restarting VS, changing models etc.
Details:
Windows 11 23H2
Visual Studio 17.14.9
Logs:
[Conversations Error] Loading GitHub account information...
[Conversations Information] Need to get an auth token.
[HttpClientFactoryProvider Information] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Status Code: 200, Reason Phrase: OK
[Conversations Information] Response Content: HasToken: True, ChatEnabled: True, ExpiresAt: 1752731451, RefreshIn: 1500, SKU: copilot_for_business_seat_quota, CopilotExclusion: True, ChatQuota: '', CompletionsQuota: '', LimitedUserResetDate: '', CanSignupForLimited: ''
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
Logging to: C:\Users<myname>\AppData\Local\Temp\VSGitHubCopilotLogs\20250717_052049.837_VSGitHubCopilot.chat.log
[Conversations Information] Copilot chat version 17.14.878-rc+0ca5ccecc6.RR (17.14.878.3237). VS: VisualStudio.17.Release/17.14.9+36310.24.-july.2025-. Session: 2cbb025e-bda8-4f75-9a95-26c0acf0de38.
[Conversations Information] [Conversations] Active solution path changed to
[Conversations Information] [Conversations] Out-of-process service (PID: 35776) finished initializing.
[Conversations Information] [CopilotAgents] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] [GetQuota] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] [CopilotClient] Copilot Internal User response: Conversations.Abstractions.Auth.CopilotUserData
[Conversations Information] [CopilotModels] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] [Conversations] Active solution path changed to C:\Users<my name><path to sln>
[PersistedCopilotSessionRepository Information] Persisted sessions are stored under C:\Users<my name>....vs<projectname>\copilot-chat\81e8c700\sessions
[HttpClientFactoryProvider Information] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[CopilotClientManager Information] LSP: Activated (13041325)
[CopilotClientManager Information] LSP: Debug Server: http://localhost:8180
[CopilotClientManager Information] LSP: Process 24848
[Conversations Information] [ChunkIndex] Index db path: C:\Users<my name>...\CopilotIndices\17.14.878.3237\CodeChunks.db
[CopilotClientManager Information] Initial auth status: OK
[CopilotClientManager Information] CopilotClientManager: model list fetched as of 17-07-2025 10:51:53.
[CompletionsProposalSource Information] Request completions: "clientSecret": ""|+0/1: ->""Axz8Q~U3j-sNFV.asygjhhzXna2XolnY_-rRkcn" [1]
[CopilotSessionProvider Information] Begin sending message (ConversationId:6456df70-a303-40b7-be4b-05445b9d18e3, CorrelationId:ae770bdd-7267-4b14-bd94-23d7054e2cee, MessageId: 5f29bde2-6e9d-4bff-bced-40afd4980fd9)
[CopilotSessionProvider Information] Request content: "i want to integrate azure keyvault in my code. i currently have all secrets and connection strings in the appsettings which is not a good practice. i want to keep some data in appsettings (configuration) also and other things like secrets in the keyvault"
[Conversations Information] [CopilotCompletions] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] [GetQuota] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Error] [Conversations] Unhandled exception in AskInConversationAsync: System.InvalidOperationException: Sequence contains more than one element
at System.Linq.ThrowHelper.ThrowMoreThanOneElementException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable
1 source, Boolean& found) at System.Linq.Enumerable.Single[TSource](IEnumerable1 source)at Conversations.Kernel.LLMClient.StreamAsync(CopilotAPIRequest request, CopilotInteractionId interactionId, ICopilotStreamingContentSink streamTarget, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\LLMClient.cs:line 82
at Conversations.Kernel.Intents.IntentBase.RespondAsync(ChatRequest chatRequest, IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\Intents\IntentBase.cs:line 60
at Microsoft.VisualStudio.Conversations.Service.ExperimentalChat.RespondIntent.ExecuteCoreAsync(IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service\ExperimentalChat\RespondIntent.cs:line 45
at Conversations.Kernel.Intents.IntentBase.ExecuteAsync(IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\Intents\IntentBase.cs:line 38
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 92
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 141
at Microsoft.VisualStudio.Conversations.Service.ServiceTarget.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeInteractions, IReadOnlyList
1 history, CopilotRequestOptions requestOptions, CancellationToken cancellation) in D:\a\_work\1\s\src\Copilot.Service\ServiceTarget.cs:line 191 [CopilotSessionProvider Error] Unhandled exception invoking responder GitHub Copilot: StreamJsonRpc.RemoteInvocationException: Sequence contains more than one element at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__1561.MoveNext()--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio.Copilot.ResponderBroker.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Copilot.ResponderBroker.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore
1.GetResult(Int16 token) at Microsoft.VisualStudio.Copilot.Core.Agents.DefaultChatAgent.<RespondAsync>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Copilot.Core.Agents.DefaultChatAgent.<RespondAsync>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore1.GetResult(Int16 token)at Microsoft.VisualStudio.Copilot.CopilotDefaultOrchestrator.d__22.MoveNext()
RPC server exception:
System.InvalidOperationException: Sequence contains more than one element
at System.Linq.ThrowHelper.ThrowMoreThanOneElementException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable
1 source, Boolean& found) at System.Linq.Enumerable.Single[TSource](IEnumerable1 source)at Conversations.Kernel.LLMClient.StreamAsync(CopilotAPIRequest request, CopilotInteractionId interactionId, ICopilotStreamingContentSink streamTarget, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\LLMClient.cs:line 82
at Conversations.Kernel.Intents.IntentBase.RespondAsync(ChatRequest chatRequest, IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\Intents\IntentBase.cs:line 60
at Microsoft.VisualStudio.Conversations.Service.ExperimentalChat.RespondIntent.ExecuteCoreAsync(IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service\ExperimentalChat\RespondIntent.cs:line 45
at Conversations.Kernel.Intents.IntentBase.ExecuteAsync(IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\Intents\IntentBase.cs:line 38
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 92
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 141
at Microsoft.VisualStudio.Conversations.Service.ServiceTarget.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeInteractions, IReadOnlyList
1 history, CopilotRequestOptions requestOptions, CancellationToken cancellation) in D:\a\_work\1\s\src\Copilot.Service\ServiceTarget.cs:line 191 at Microsoft.VisualStudio.Conversations.Service.CopilotServiceContainer.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeResponse, IReadOnlyList1 history, CopilotRequestOptions requestOptions, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service\CopilotServiceContainer.cs:line 510[Conversations Information] [CopilotClient] Copilot Internal User response: Conversations.Abstractions.Auth.CopilotUserData
[Conversations Information] [CopilotModels] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[CopilotSessionProvider Information] Begin sending message (ConversationId:6456df70-a303-40b7-be4b-05445b9d18e3, CorrelationId:5d7ce2cb-1f6a-4647-b593-9db5707dccc0, MessageId: 1f4a9f53-2e4c-47b3-9ea1-7454c59fd92e)
[CopilotSessionProvider Information] Request content: "i want to integrate azure keyvault in my code. i currently have all secrets and connection strings in the appsettings which is not a good practice. i want to keep some data in appsettings (configuration) also and other things like secrets in the keyvault"
[Conversations Information] [CopilotCompletions] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Error] [Conversations] Unhandled exception in AskInConversationAsync: System.InvalidOperationException: Sequence contains more than one element
at System.Linq.ThrowHelper.ThrowMoreThanOneElementException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable
1 source, Boolean& found) at System.Linq.Enumerable.Single[TSource](IEnumerable1 source)at Conversations.Kernel.LLMClient.StreamAsync(CopilotAPIRequest request, CopilotInteractionId interactionId, ICopilotStreamingContentSink streamTarget, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\LLMClient.cs:line 82
at Conversations.Kernel.Intents.IntentBase.RespondAsync(ChatRequest chatRequest, IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\Intents\IntentBase.cs:line 60
at Microsoft.VisualStudio.Conversations.Service.ExperimentalChat.RespondIntent.ExecuteCoreAsync(IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service\ExperimentalChat\RespondIntent.cs:line 45
at Conversations.Kernel.Intents.IntentBase.ExecuteAsync(IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\Intents\IntentBase.cs:line 38
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 92
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 141
at Microsoft.VisualStudio.Conversations.Service.ServiceTarget.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeInteractions, IReadOnlyList
1 history, CopilotRequestOptions requestOptions, CancellationToken cancellation) in D:\a\_work\1\s\src\Copilot.Service\ServiceTarget.cs:line 191 [CopilotSessionProvider Error] Unhandled exception invoking responder GitHub Copilot: StreamJsonRpc.RemoteInvocationException: Sequence contains more than one element at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__1561.MoveNext()--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio.Copilot.ResponderBroker.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Copilot.ResponderBroker.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore
1.GetResult(Int16 token) at Microsoft.VisualStudio.Copilot.Core.Agents.DefaultChatAgent.<RespondAsync>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Copilot.Core.Agents.DefaultChatAgent.<RespondAsync>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore1.GetResult(Int16 token)at Microsoft.VisualStudio.Copilot.CopilotDefaultOrchestrator.d__22.MoveNext()
RPC server exception:
System.InvalidOperationException: Sequence contains more than one element
at System.Linq.ThrowHelper.ThrowMoreThanOneElementException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable
1 source, Boolean& found) at System.Linq.Enumerable.Single[TSource](IEnumerable1 source)at Conversations.Kernel.LLMClient.StreamAsync(CopilotAPIRequest request, CopilotInteractionId interactionId, ICopilotStreamingContentSink streamTarget, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\LLMClient.cs:line 82
at Conversations.Kernel.Intents.IntentBase.RespondAsync(ChatRequest chatRequest, IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\Intents\IntentBase.cs:line 60
at Microsoft.VisualStudio.Conversations.Service.ExperimentalChat.RespondIntent.ExecuteCoreAsync(IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service\ExperimentalChat\RespondIntent.cs:line 45
at Conversations.Kernel.Intents.IntentBase.ExecuteAsync(IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\Intents\IntentBase.cs:line 38
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 92
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 141
at Microsoft.VisualStudio.Conversations.Service.ServiceTarget.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeInteractions, IReadOnlyList
1 history, CopilotRequestOptions requestOptions, CancellationToken cancellation) in D:\a\_work\1\s\src\Copilot.Service\ServiceTarget.cs:line 191 at Microsoft.VisualStudio.Conversations.Service.CopilotServiceContainer.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeResponse, IReadOnlyList1 history, CopilotRequestOptions requestOptions, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service\CopilotServiceContainer.cs:line 510[Conversations Information] Need to get an auth token.
[HttpClientFactoryProvider Information] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Status Code: 200, Reason Phrase: OK
[Conversations Information] Response Content: HasToken: True, ChatEnabled: True, ExpiresAt: 1752732953, RefreshIn: 1500, SKU: copilot_for_business_seat_quota, CopilotExclusion: True, ChatQuota: '', CompletionsQuota: '', LimitedUserResetDate: '', CanSignupForLimited: ''
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[CopilotClientManager Information] Auth status changed: OK
[CopilotSessionProvider Information] Begin sending message (ConversationId:6456df70-a303-40b7-be4b-05445b9d18e3, CorrelationId:47e74cc2-1920-4983-b62b-cf87632dcc33, MessageId: 7ebe1abc-aaf4-4112-95de-1b34eac64d8f)
[CopilotSessionProvider Information] Request content: "i want to integrate azure keyvault in my code. i currently have all secrets and connection strings in the appsettings which is not a good practice. i want to keep some data in appsettings (configuration) also and other things like secrets in the keyvault"
[HttpClientFactoryProvider Information] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] [CopilotCompletions] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] [ChunkIndex] Found 60 total results for 5 queries from local index.
[Conversations Information] [CopilotEmbeddings] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
[Conversations Information] [GetQuota] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Error] [Conversations] Unhandled exception in AskInConversationAsync: System.InvalidOperationException: Sequence contains more than one element
at System.Linq.ThrowHelper.ThrowMoreThanOneElementException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable
1 source, Boolean& found) at System.Linq.Enumerable.Single[TSource](IEnumerable1 source)at Conversations.Kernel.LLMClient.StreamAsync(CopilotAPIRequest request, CopilotInteractionId interactionId, ICopilotStreamingContentSink streamTarget, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\LLMClient.cs:line 82
at Conversations.Kernel.Intents.IntentBase.RespondAsync(ChatRequest chatRequest, IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\Intents\IntentBase.cs:line 60
at Microsoft.VisualStudio.Conversations.Service.ExperimentalChat.RespondIntent.ExecuteCoreAsync(IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service\ExperimentalChat\RespondIntent.cs:line 45
at Conversations.Kernel.Intents.IntentBase.ExecuteAsync(IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\Intents\IntentBase.cs:line 38
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 92
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 141
at Microsoft.VisualStudio.Conversations.Service.ServiceTarget.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeInteractions, IReadOnlyList
1 history, CopilotRequestOptions requestOptions, CancellationToken cancellation) in D:\a\_work\1\s\src\Copilot.Service\ServiceTarget.cs:line 191 [CopilotSessionProvider Error] Unhandled exception invoking responder GitHub Copilot: StreamJsonRpc.RemoteInvocationException: Sequence contains more than one element at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__1561.MoveNext()--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio.Copilot.ResponderBroker.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Copilot.ResponderBroker.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore
1.GetResult(Int16 token) at Microsoft.VisualStudio.Copilot.Core.Agents.DefaultChatAgent.<RespondAsync>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Copilot.Core.Agents.DefaultChatAgent.<RespondAsync>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore1.GetResult(Int16 token)at Microsoft.VisualStudio.Copilot.CopilotDefaultOrchestrator.d__22.MoveNext()
RPC server exception:
System.InvalidOperationException: Sequence contains more than one element
at System.Linq.ThrowHelper.ThrowMoreThanOneElementException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable
1 source, Boolean& found) at System.Linq.Enumerable.Single[TSource](IEnumerable1 source)at Conversations.Kernel.LLMClient.StreamAsync(CopilotAPIRequest request, CopilotInteractionId interactionId, ICopilotStreamingContentSink streamTarget, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\LLMClient.cs:line 82
at Conversations.Kernel.Intents.IntentBase.RespondAsync(ChatRequest chatRequest, IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\Intents\IntentBase.cs:line 60
at Microsoft.VisualStudio.Conversations.Service.ExperimentalChat.RespondIntent.ExecuteCoreAsync(IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service\ExperimentalChat\RespondIntent.cs:line 45
at Conversations.Kernel.Intents.IntentBase.ExecuteAsync(IntentExecutionContext context, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service.Kernel\Intents\IntentBase.cs:line 38
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 92
at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 141
at Microsoft.VisualStudio.Conversations.Service.ServiceTarget.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeInteractions, IReadOnlyList
1 history, CopilotRequestOptions requestOptions, CancellationToken cancellation) in D:\a\_work\1\s\src\Copilot.Service\ServiceTarget.cs:line 191 at Microsoft.VisualStudio.Conversations.Service.CopilotServiceContainer.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeResponse, IReadOnlyList1 history, CopilotRequestOptions requestOptions, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service\CopilotServiceContainer.cs:line 510[Conversations Information] [CopilotClient] Copilot Internal User response: Conversations.Abstractions.Auth.CopilotUserData
[Conversations Information] [CopilotModels] Environment variable COPILOT_USE_DEFAULTPROXY found: False
[Conversations Information] Copilot auth status: OK. Copilot badge status: Active
Beta Was this translation helpful? Give feedback.
All reactions