Files
AstrBot/astrbot
jnMetaCode 41a7a660c8 fix: handle invalid dimensions config and align get_dim return
- Add try-except around int() conversion in _embedding_kwargs to
  gracefully handle invalid embedding_dimensions config values
- Update get_dim() to return 0 when embedding_dimensions is not
  explicitly configured, so callers know dimensions weren't specified
  and can handle it accordingly
- Both methods now share consistent logic for reading the config

Signed-off-by: JiangNan <1394485448@qq.com>
2026-03-16 18:06:26 +08:00
..
2026-03-13 00:33:36 +08:00
2025-03-03 13:30:55 +08:00