Support background tasks#104
Closed
imranq2 wants to merge 922 commits into
Closed
Conversation
…nguage-model-common to version 1.0.36
…OpenAI connection configuration to Makefile
…e command structure
…r improved discovery
…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.
…eadability and maintainability.
…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.
…uring consistency across modules.
…ndency management
…oundcover; update general purpose model with enhanced descriptions and parameters.
…mproved user feedback
…E environment variable
…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.
Write skill to GitHub
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.
Update mcp fhir agent
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.
Update mcp fhir agent
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.