Skip to content

OpenAI Compatible error #9

@mwnu

Description

@mwnu

base_url: http://192.168.1.20:2041/v1

 Error: The provided configuration does not result in a working agent. The following error was encountered when trying to talk to the agent API:
task 18214 panicked with message "called `Result::unwrap()` on an `Err` value: Custom { kind: InvalidData, error: \"Failed to read JSON: expected value at line 1 column 1\" }"```

base_url: https://exampelecom:2042/api/v1

task 17902 panicked with message "called `Result::unwrap()` on an `Err` value: Error(\"missing field `choices`\", line: 0, column: 0)"```

The field validation is overly strict. This is an API provided by my RAG application, which can be used in most applications compatible with the OpenAI API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions