v0.21.2

arkohut/pensievev0.21.2Nov 26, 2024by github-actions[bot]

AI Summary

The `memos config` command is significantly improved to provide a structured and readable display of current configuration settings, including resolved file paths.

Key Highlights

  • Improved `memos config` command output readability.
  • Displays resolved paths for configuration values alongside defaults.

New Features

  • Enhanced `memos config` command UI.

Full Release Notes

# Update `memos config` command to give better config result.

```sh
$ memos config

base_dir:
  value: ~/.memos
  resolved: /Users/arkohut/.memos
database_path:
  value: database.db
  resolved: /Users/arkohut/.memos/database.db
default_library: screenshots
screenshots_dir:
  value: screenshots
  resolved: /Users/arkohut/.memos/screenshots
server_host: localhost
server_port: 8839
vlm:
  modelname: minicpm-v
  endpoint: xxxx
  token: ********
  force_jpeg: True
  prompt: Describe the image content as detail as possible
ocr:
  endpoint: xxx
  token: ********
  concurrency: 4
  use_local: True
  force_jpeg: False
embedding:
  num_dim: 768
  endpoint: xxx
  model: arkohut/jina-embeddings-v2-base-zh
  use_modelscope: True
  use_local: True
  token: ********
auth_username:
auth_password: ********
default_plugins:
  - builtin_ocr
  - builtin_vlm
record_interval: 4
```

## What's Changed

* Feat/better config cmd by @arkohut in https://github.com/arkohut/pensieve/pull/32


**Full Changelog**: https://github.com/arkohut/pensieve/compare/v0.21.1...v0.21.2