diff --git a/converter.py b/converter.py index 586bba1..5835f2c 100644 --- a/converter.py +++ b/converter.py @@ -11,7 +11,7 @@ base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENAI_API_KEY"], ) -model = "google/gemini-2.5-flash-preview-05-20" +model = "google/gemini-3-flash-preview" def download(url: str) -> str: diff --git a/pyproject.toml b/pyproject.toml index c1a999b..456b842 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ requires-python = ">=3.10,<3.14" dependencies = [ "fastapi (>=0.115.12,<0.116.0)", "uvicorn (>=0.34.2,<0.35.0)", - "markitdown[all] (>=0.1.2,<0.2.0)", + "markitdown[all] (>=0.1.5,<0.2.0)", "openai (>=1.82.1,<2.0.0)", "python-multipart (>=0.0.20,<0.0.21)" ] diff --git a/requirements.txt b/requirements.txt index a7906ad..7c413eb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,7 +27,7 @@ lxml==5.4.0 magika==0.6.2 mammoth==1.9.1 markdownify==1.1.0 -markitdown==0.1.2 +markitdown==0.1.5 mpmath==1.3.0 msal==1.32.3 msal-extensions==1.3.1