Skip to content

Help/Bug: Error when trying to run completion #63

Description

@RiaGruen

Setup:

  • Visual Studio 2026
  • FreeAIr 4.12.2
  • LM Studio 0.4.20.1, running on localhost

Project language:

  • VB.Net

I did manage to make embeddings, however, only two are created.

When I open the chat window and try to run anything against the LLM, I get the following error:

Service request failed.
Status: 400 (Bad Request)
bei OpenAI.ClientPipelineExtensions.ProcessMessage(ClientPipeline pipeline, PipelineMessage message, RequestOptions options) in C:\projects\github\openai-dotnet\src\Custom\Internal\ClientPipelineExtensions.cs:Zeile 51.
bei OpenAI.Chat.ChatClient.CompleteChat(BinaryContent content, RequestOptions options) in C:\projects\github\openai-dotnet\src\Generated\ChatClient.cs:Zeile 28.
bei OpenAI.Chat.ChatClient.<>c__DisplayClass12_0.b__0() in C:\projects\github\openai-dotnet\src\Custom\Chat\ChatClient.cs:Zeile 228.
bei OpenAI.SseUpdateCollection1.<GetRawPages>d__10.MoveNext() in C:\projects\github\openai-dotnet\src\Utility\SseUpdateCollection.cs:Zeile 71. bei System.ClientModel.CollectionResult1.d__1.MoveNext()
bei FreeAIr.BLogic.Reader.LLMReader.d__10.MoveNext() in C:\projects\github\FreeAIr\FreeAIr\BLogic\Reader\LLMReader.cs:Zeile 147.

As this directory doesn't even exist on my machine nor any of the mentioned files, I can't even try to fix it on my own. Sorry for that.

LM Studio doesn't log anything, so it's failing to get to the endpoint in the first place.

Any ideas or pointers?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions