Skip to content

feat: add vLLM model provider support#102

Merged
giswqs merged 2 commits into
mainfrom
feat/vllm-provider
May 25, 2026
Merged

feat: add vLLM model provider support#102
giswqs merged 2 commits into
mainfrom
feat/vllm-provider

Conversation

@giswqs

@giswqs giswqs commented May 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Recognize vllm as a provider across core config, model resolver, Solara UI, and the OpenGeoAgent QGIS plugin.
  • Wire VLLM_BASE_URL, VLLM_MODEL_ID, and VLLM_API_KEY through configuration, settings UI, and chat environment export.
  • Update docs (README, installation, UI, QGIS plugin) to mention vLLM and document the server-side tool-calling requirement.

Test plan

  • pre-commit run --all-files
  • pytest tests/ -q
  • Manual: set VLLM_BASE_URL / VLLM_MODEL_ID against a running vLLM server and confirm a GeoAgent chat round-trip.

Adds vLLM as a recognized provider across core config, model resolver,
Solara UI, and the OpenGeoAgent QGIS plugin so users can point GeoAgent
at a local or self-hosted vLLM server alongside existing providers.
Copilot AI review requested due to automatic review settings May 22, 2026 21:43
@github-actions

github-actions Bot commented May 22, 2026

Copy link
Copy Markdown

@github-actions github-actions Bot temporarily deployed to pull request May 22, 2026 21:44 Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds first-class vLLM provider support across GeoAgent core (config + model resolver), the Solara UI, and the OpenGeoAgent QGIS plugin, plus docs/tests updates to reflect the new provider and required server-side tool-calling capabilities.

Changes:

  • Add vllm to provider detection/config and implement resolve_model() support via strands-vllm.
  • Expose vLLM as a selectable provider in the Solara UI and QGIS plugin (defaults/models, settings fields, dependency installation).
  • Update docs and tests to cover vLLM configuration and provider auto-detection.

Reviewed changes

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

Show a summary per file
File Description
geoagent/core/config.py Adds vllm to provider enum and env-based default provider selection; introduces vllm_base_url config field.
geoagent/core/model.py Implements vLLM model resolution using strands_vllm.VLLMModel with env/config wiring.
geoagent/ui/app.py Adds vllm to Solara UI provider list and default model mapping.
pyproject.toml Adds GeoAgent[vllm] extra and includes it in GeoAgent[providers].
qgis_geoagent/open_geoagent/dialogs/chat_dock.py Adds vLLM to provider lists/default models and exports vLLM env vars for chat workers.
qgis_geoagent/open_geoagent/dialogs/settings_dock.py Adds vLLM settings inputs + env fallback/apply + defaults reset coverage.
qgis_geoagent/open_geoagent/deps_manager.py Includes strands-vllm in QGIS “Core Providers” dependency set.
tests/test_model_providers.py Adds config/env/provider-selection tests and model resolution tests for vLLM.
tests/test_ui_app.py Updates Solara UI tests for vLLM provider defaults and env-based provider selection.
qgis_geoagent/tests/test_chat_tool_inputs.py Adds coverage for QGIS plugin provider/default model and env export behavior for vLLM.
qgis_geoagent/tests/test_settings_diagnostics.py Extends diagnostics redaction + env apply tests to include vLLM settings.
README.md Documents vLLM provider support, extras, env vars, and tool-calling requirement.
docs/index.md Adds vLLM to provider list and env var table and notes tool-calling requirement.
docs/installation.md Mentions vLLM env vars and extra installation guidance.
docs/ui.md Adds vLLM to UI-supported providers list.
docs/qgis-plugin.md Documents vLLM availability in QGIS plugin and server/tool-calling requirement.
qgis_geoagent/README.md Adds vLLM provider docs for the QGIS plugin (env vars + defaults).

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

Comment thread docs/ui.md
Comment thread qgis_geoagent/README.md Outdated
Comment thread qgis_geoagent/open_geoagent/dialogs/chat_dock.py
- docs/ui.md: add VLLM_BASE_URL and VLLM_MODEL_ID to the example env-var
  list so the UI providers section and the env reference stay in sync.
- qgis_geoagent/README.md: drop VLLM_MODEL_ID from the env vars applied
  to the QGIS process and clarify that the model id is supplied via the
  Model setting, matching the actual plugin behavior.
@github-actions github-actions Bot temporarily deployed to pull request May 22, 2026 21:50 Inactive
@giswqs giswqs merged commit 09f2ac7 into main May 25, 2026
9 checks passed
@giswqs giswqs deleted the feat/vllm-provider branch May 25, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants