Преглед на файлове

Fix: type violations. (#6262)

### What problem does this PR solve?

#6238
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.18.0
Kevin Hu преди 7 месеца
родител
ревизия
49086964b8
No account linked to committer's email address
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      rag/utils/__init__.py

+ 1
- 1
rag/utils/__init__.py Целия файл

@@ -100,7 +100,7 @@ def clean_markdown_block(text):
return text.strip()

def get_float(v: str | int | float | None):
def get_float(v):
if v is None:
return float('-inf')
try:

Loading…
Отказ
Запис