Skip to content

Support background tasks#104

Closed
imranq2 wants to merge 922 commits into
imranq2:mainfrom
icanbwell:support-background-tasks
Closed

Support background tasks#104
imranq2 wants to merge 922 commits into
imranq2:mainfrom
icanbwell:support-background-tasks

Conversation

@imranq2

@imranq2 imranq2 commented May 25, 2026

Copy link
Copy Markdown
Owner

No description provided.

imranq2 added 30 commits April 5, 2026 10:19
…eptionLogger for improved error message formatting and clarity; streamline response handling for unauthorized exceptions.
…on, enhancing flexibility for server deployment.
…ation details and URLs, simplifying the structure for improved clarity.
…andling, enhancing reliability and clarity in message extraction.
…cated methods for status, completion, and error updates, improving user feedback during processing and error handling.
…s and Responses), improving flexibility and usability in OpenAI interactions.
…cs across streaming and non-streaming responses, improving visibility into token usage.
…ction calls and search completions, improving clarity in real-time feedback.
…hancing SSE logging, improving code clarity and maintainability.
…cit client metadata and fallback mechanisms, improving coverage and ensuring correct client name usage.
…troducing app login option, improving user experience in OAuth flows.
…olidating multiline statements and updating dependencies in Pipfile and Pipfile.lock.
…n support, improving robustness and flexibility in model requests.
…ng last message content extraction for improved clarity.
…oundcover; update general purpose model with enhanced descriptions and parameters.
imranq2 and others added 29 commits May 9, 2026 15:07
…d skill auth service

Introduces centralized OAuth exception-to-message translation via
McpAuthResponseBuilder, a gateway-specific TokenStorageAuthManager that
auto-registers MCP OAuth providers on callback, and SkillAuthService for
skill publisher login flow. Refactors chat completion providers to use
the new auth response builder instead of inline exception handling.
Introduces docker-compose for the mcp-server-gateway service with OAuth,
MongoDB, and marketplace settings, along with the default .mcp.json
defining available MCP servers for all employees.
Set up project infrastructure with Docker Compose service definitions
for language-model-gateway and mcp-server-gateway, Python project
configuration with dependencies, and locked dependency versions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
```
Add pyproject.toml and uv.lock for Python project configuration

Define project metadata, dependencies, and dev tooling (pytest, mypy)
using pyproject.toml with uv as the package manager. Lock all transitive
dependencies via uv.lock.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
```
Defines the mcp_server_gateway service with marketplace plugin support,
MongoDB storage, and Keycloak/Okta auth for local development.
… streaming, and b.well skill

Introduce test suite covering Anthropic chat with Google search, web/PDF
scraping, OpenAI provider, streaming responses, prompt helper, and the
b.well PHR skill. Includes shared test utilities (container factory,
model config helpers) and mock infrastructure for running without a real LLM.
Introduces LangChainCompletionsProvider with MCP tool discovery support,
streaming response lifecycle management, and per-request auth/session isolation.
Adds FastAPI application with lifespan-managed config loading, background
config refresh loop, CORS, and standard routers.
…v config

Extends LanguageModelCommonEnvironmentVariables with gateway-specific properties
for GitHub, Jira, Databricks, CORS, auth, and tool configuration settings.
```
Add pyproject.toml and uv.lock for language-model-gateway

Define project metadata, runtime dependencies (LangChain, FastAPI,
OpenTelemetry, AWS, MongoDB, etc.), dev dependencies, and tool
configuration (pytest, mypy). Pin all transitive dependencies via
uv.lock.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
```
Add LangChain chat completions provider and FastAPI app setup
Cover initialization, error handling (401/500/ExceptionGroup),
streaming/non-streaming responses, model selection logic, and
Bedrock model SSRF prevention validation.
…in config

Introduces SearchToolsTool that provides keyword search over MCP tool metadata
with lazy server resolution and OAuth-aware gating. Also adds the all-employees
marketplace plugin configuration with FHIR, GitHub, Google Drive, and other
MCP server definitions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…d API gateway

Each mcp-fhir-agent instance (dev, client-sandbox, staging, prod) now has
explicit endpoint configuration instead of relying solely on the shared
anchor defaults. Also fixes PSS_BASE_URL to use the api-gateway path.
Updates the dependency constraint and regenerates the lockfile,
pulling in transitive dependency updates across the project.
Introduces AppLoginManager for credential-based authentication against the
b.well platform identity API, adds the all-employees .mcp.json plugin with
FHIR servers across environments, and defines the config_schema.json for
task model validation. Also adds uv.lock for oidc-auth-lib.
Configure cognitostaging as a new inbound JWT validation provider in
docker-compose and replace local Keycloak OAuth with Okta FHIR Staging
for the FHIR MCP server plugin.
Aligns these service endpoints with the existing ATC BFF configuration,
ensuring all services point to the same staging environment.
…employees

- Register new "bailey" healthcare plugin for patient-facing AI skills
- Remove provider-search MCP server from all-employees plugin
- Add commented volume mount option for bwell-ai-plugin-marketplace
- Point commented GitHub marketplace ref to main branch
Add Docker infrastructure and uv.lock for language-model-common

Introduce multi-stage Dockerfile with Python 3.12 Alpine base and
non-root user for production, a lightweight pre-commit Dockerfile for
running hooks in CI, and pin all dependencies via uv.lock.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
```
Drops unused transitive dependencies (motor, httpx-sse, pymongo[snappy],
langchain-core, langmem) that were removed upstream.
Defines the language-model-gateway service with all required
environment variables for auth providers, MongoDB, caching,
MCP server gateway, and OpenTelemetry instrumentation.
Introduce McpProxyRouter to proxy MCP tools/call and resources/read
requests from app iframes to their backing MCP servers. Also wire up
emit_task_progress and mcp_app_proxy_base_url to enable background
task reporting in chat completions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use read_model_configs_async() and config.get_agents() instead of
directly accessing config attributes. Parse agent.tools as a
comma-separated string rather than treating it as a list.
@imranq2 imranq2 closed this May 25, 2026
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