Skip to content

[Bug][low-prio]: openviking-server doctor doesn't report ov.conf error #2373

@xiaobin83

Description

@xiaobin83

Bug Description

Version: 0.3.22

I have

{
  "retrieval": {
    "top_k": 10,
    "threshold": 0.5
  }
}

in the config. when executing openviking-server, it says,

Unknown config field 'retrieval.top_k'
Unknown config field 'retrieval.threshold'

but when executing openviking-server doctor , it says,

OpenViking Doctor

  Config:        PASS  /Users/wangtingting/.openviking/ov.conf
  Python:        PASS  3.12.13 (>= 3.10 required)
  Native Engine: PASS  variant=native
  AGFS:          PASS  AGFS SDK 0.1.7
  Embedding:     PASS  volcengine/doubao-embedding-vision-250615
  VLM:           PASS  deepseek/deepseek-v4-flash
  Ollama:        PASS  not configured
  Disk:          PASS  6.6 GB free in /Users/xxxx/.openviking/data

  All checks passed.

I think configuration error should also be reported in doctor command.

Steps to Reproduce

  1. Put
{
  "retrieval": {
    "top_k": 10,
    "threshold": 0.5
  }
}

in ov.conf

  1. run openviking-server, see the output.
  2. run openviking-server doctor, see the output.

Expected Behavior

  1. openviking-server fails with
Unknown config field 'retrieval.top_k'
Unknown config field 'retrieval.threshold'
  1. openviking-server doctor reports 'error in ov.conf'

Actual Behavior

  1. openviking-server fails with
Unknown config field 'retrieval.top_k'
Unknown config field 'retrieval.threshold'
  1. openviking-server doctor reports 'All checks passed.'

Minimal Reproducible Example

Error Logs

00:29:17 - LiteLLM:WARNING: common_utils.py:979 - litellm: could not pre-load bedrock-runtime response stream shape — Bedrock event-stream decoding will be unavailable. Error: No module named 'botocore'
00:29:18 - LiteLLM:WARNING: common_utils.py:24 - litellm: could not pre-load sagemaker-runtime response stream shape — SageMaker event-stream decoding will be unavailable. Error: No module named 'botocore'
openviking-server 0.3.22

OpenViking Version

0.3.22

Python Version

3.12.13

Operating System

macOS

Model Backend

Other

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions