Skip to content

PD-60: Add biolm server proxy and biolm package rename - #108

Open
andrewcstewart wants to merge 3 commits into
mainfrom
PD-60-biolm-server
Open

andrewcstewart wants to merge 3 commits into
mainfrom
PD-60-biolm-server

Conversation

@andrewcstewart

Copy link
Copy Markdown
Member

Summary

  • Rename package biolmai → biolm 1.0.0 with deprecated biolmai import/CLI aliases and unified BIOLM_* env vars (legacy BIOLMAI_* still supported)
  • Add biolm server — local FastAPI proxy for Modal-deployed model APIs with config-based registry, Modal scan stub, token/none auth, and 501 stubs for platform-only routes
  • Fix client base-URL handling so model list, model run, and status work consistently against a local server; add biolm model catalog for the full OSS catalog
  • Add OSS integration contract for the Modal deployment repo: docs/server/oss-integration.md

Test plan

  • pip install -e ".[server]" succeeds
  • biolm server status shows registry/config
  • biolm server start + export BIOLM_BASE_API_URL=http://127.0.0.1:8787/api/v3 → biolm model list returns configured models
  • biolm model catalog lists bundled OSS catalog entries
  • import biolmai emits deprecation warning; import biolm works
  • pytest tests/test_server_*.py tests/test_const_env.py tests/test_biolm_shim.py tests/test_cli_server.py -p no:cov passes
  • Share docs/server/oss-integration.md with Modal OSS repo author for deploy convention alignment

Made with Cursor

Introduce biolm 1.0 with biolm server for local Modal model proxying,
BIOLM_* env unification, and biolmai compatibility aliases.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jun 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
py-biolm Ready Ready Preview, Comment Jul 6, 2026 10:06pm

Request Review

Filter introspected deployments against the official BioLM catalog, fetch schemas from the platform, decouple BIOLM_BASE_API_URL from auth domain, and add server stop/detach with live status from the running proxy.

Co-authored-by: Cursor <cursoragent@cursor.com>
Remove the experimental local FastAPI proxy and wire the CLI/SDK to bh serve
via persisted config, OpenAPI model discovery, and /api/v1 path compatibility.

Co-authored-by: Cursor <cursoragent@cursor.com>

This branch had an error being deployed

1 failed deployment
Preview — 65e70a36 Deployed Jul 6, 2026 by andrewcstewart via test (3.12) #210
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.

1 participant