Skip to content

API key in the settings? #38

@matsymbols

Description

@matsymbols

Thank you for building and sharing this.
I'm using oMLX as a server for embeddings, and oMLX requires API key and I can't remove this from its settings. When I tried to change the plugin settings to it send api key to the server using this
\

{
  "apiHeading": "",
  "apiEndpoint": "http://127.0.0.1:8235/",
  "apiFormat": "openai",
  "apiKey": "ssss",
  "embeddingModel": "Qwen3-Embedding-8B-4bit-DWQ",
  "searchHeading": "",
  "topK": 20,
  "batchSize": 50,
  "autoIndexOnLoad": true,
  "propertiesHeading": "",
  "pageProperties": "tags, alias, category, type, description, summary, author, topic, area, project, status, priority, platform",
  "blockProperties": "type, status, priority, tags, source, url, author",
  "disabled": false
}

I get this error in logseq:

HTTP 401: {"error":{"message":"API key required","type":"authentication_error","param":null,"code":null}}

I would really appreciate if you can offer a solution, or would you accept a PR for this?

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