Skip to content

chore(deps): bump model to gemini-3-flash and markitdown to 0.1.5#10

Merged
sirily11 merged 1 commit intomainfrom
copilot/change-model-to-google-gemini-3-flash-preview
Apr 10, 2026
Merged

chore(deps): bump model to gemini-3-flash and markitdown to 0.1.5#10
sirily11 merged 1 commit intomainfrom
copilot/change-model-to-google-gemini-3-flash-preview

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 10, 2026

Upgrades the LLM model and markitdown dependency to their latest versions.

Changes

  • converter.py: google/gemini-2.5-flash-preview-05-20google/gemini-3-flash-preview
  • requirements.txt: markitdown==0.1.2markitdown==0.1.5
  • pyproject.toml: lower bound >=0.1.2>=0.1.5

@autopilot-project-manager autopilot-project-manager bot added the enhancement New feature or request label Apr 10, 2026
@sirily11 sirily11 marked this pull request as ready for review April 10, 2026 05:33
Copilot AI review requested due to automatic review settings April 10, 2026 05:33
@sirily11 sirily11 enabled auto-merge (squash) April 10, 2026 05:34
@sirily11 sirily11 disabled auto-merge April 10, 2026 05:34
@autopilot-project-manager autopilot-project-manager bot changed the title Bump model to gemini-3-flash-preview and markitdown to 0.1.5 chore(deps): bump model to gemini-3-flash and markitdown to 0.1.5 Apr 10, 2026
@sirily11 sirily11 enabled auto-merge (squash) April 10, 2026 05:34
@sirily11 sirily11 merged commit 6636542 into main Apr 10, 2026
4 checks passed
@sirily11 sirily11 deleted the copilot/change-model-to-google-gemini-3-flash-preview branch April 10, 2026 05:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the service’s default OpenRouter model and bumps the markitdown dependency version to a newer release.

Changes:

  • Switch default LLM model from google/gemini-2.5-flash-preview-05-20 to google/gemini-3-flash-preview
  • Bump markitdown in requirements.txt to 0.1.5
  • Raise the markitdown[all] lower bound in pyproject.toml to >=0.1.5

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
converter.py Updates the default model identifier used for conversions.
requirements.txt Pins markitdown to 0.1.5 for the Docker/pip install path.
pyproject.toml Updates the Poetry/PEP 621 dependency constraint for markitdown[all].

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 10 to 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)",
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pyproject.toml now requires markitdown[all] >=0.1.5, but poetry.lock still pins markitdown at 0.1.4 (see poetry.lock around the markitdown package entry). This will make poetry install fail or continue using an out-of-date lock; regenerate and commit an updated lockfile so it resolves to a version that satisfies the new constraint.

Copilot uses AI. Check for mistakes.
api_key=os.environ["OPENAI_API_KEY"],
)
model = "google/gemini-2.5-flash-preview-05-20"
model = "google/gemini-3-flash-preview"
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The model name is hard-coded, which requires code changes for future model bumps or environment-specific overrides. Consider reading the model from an environment variable (with this value as the default) so deployments can switch models without a new release.

Suggested change
model = "google/gemini-3-flash-preview"
model = os.environ.get("OPENAI_MODEL", "google/gemini-3-flash-preview")

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants