Skip to content
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
8557d37
add wrappers
imranq2 Oct 9, 2025
98b194b
create responses_message_wrapper.py
imranq2 Oct 9, 2025
d37bca4
organize files better
imranq2 Oct 9, 2025
fb6c96d
organize files better
imranq2 Oct 9, 2025
ba0b0a6
organize files better
imranq2 Oct 9, 2025
18bd790
organize files better
imranq2 Oct 9, 2025
ef91c4c
use create_request_wrapper to stream
imranq2 Oct 9, 2025
cc076f1
use create_request_wrapper to stream
imranq2 Oct 9, 2025
44b6a8d
refactor
imranq2 Oct 9, 2025
eaf1e65
refactor: reorganize project structure and update imports
imranq2 Nov 30, 2025
6975e2b
feat: implement override for message properties in API wrappers
imranq2 Nov 30, 2025
d3daec0
feat: implement override for message properties in API wrappers
imranq2 Nov 30, 2025
d8aec7f
feat: add to_dict method for request wrappers to enable JSON serializ…
imranq2 Dec 1, 2025
1ec3f02
feat: update environment variables and Docker image version in config…
imranq2 Dec 1, 2025
b502d48
feat: simplify response_json_schema property implementation
imranq2 Dec 1, 2025
ade68d9
Merge branch 'main' into add-responses-api
imranq2 Dec 1, 2025
f3f912e
feat: add to_langchain_message_for_response method and improve messag…
imranq2 Dec 1, 2025
fd8dd87
feat: implement Responses API message conversion functions and update…
imranq2 Dec 1, 2025
96cfa17
feat: implement Responses API message conversion functions and update…
imranq2 Dec 1, 2025
13aeec0
fix: simplify handling of EasyInputMessageParam in Responses API conv…
imranq2 Dec 1, 2025
856d4eb
fix: improve type handling and documentation in Responses API converter
imranq2 Dec 1, 2025
aca1d66
feat: refactor SSE message handling in Responses API to use new event…
imranq2 Dec 1, 2025
7a168bd
fix: update message serialization to use model_dump_json in Responses…
imranq2 Dec 1, 2025
5de796e
fix: update chat model stream response serialization to use model_dum…
imranq2 Dec 1, 2025
c72e557
test: add unit tests for OpenAI responses and streaming with conversa…
imranq2 Dec 1, 2025
d66e4fd
feat: enhance Responses API to support string input and improve messa…
imranq2 Dec 2, 2025
abf0e4a
test: add integration test for Responses API with Google Drive MCP
imranq2 Dec 2, 2025
5f753ea
test: add integration test for Responses API with Google Drive MCP
imranq2 Dec 2, 2025
4bb26c2
feat: implement tool handling in Responses API and update authenticat…
imranq2 Dec 2, 2025
c8846d5
feat: enhance MCP tool handling in Responses API with improved type c…
imranq2 Dec 2, 2025
a1f8773
feat: refactor MCP tool extraction in Responses API for improved clar…
imranq2 Dec 2, 2025
a8f98f5
feat: update tool retrieval in Responses API to use asynchronous meth…
imranq2 Dec 2, 2025
6ab882a
Merge branch 'main' into add-responses-api
imranq2 Dec 2, 2025
c223ab0
feat: add Docker Compose configuration for responses API and model setup
imranq2 Dec 2, 2025
8cd593f
feat: add Docker Compose configuration for responses API and model setup
imranq2 Dec 2, 2025
386b0c4
feat: add Docker Compose configuration for responses API and model setup
imranq2 Dec 2, 2025
9ad33c6
feat: add Docker Compose configuration for responses API and model setup
imranq2 Dec 2, 2025
a09ef3a
fix: update environment variable name for client ID in auth tests
imranq2 Dec 2, 2025
b879cf9
Update language_model_gateway/gateway/structures/openai/message/chat_…
imranq2 Dec 2, 2025
b960daf
Update language_model_gateway/gateway/structures/openai/request/respo…
imranq2 Dec 2, 2025
552ae15
fix: refine conversation history handling in responses streaming test
imranq2 Dec 2, 2025
cde36d9
Update docker-compose-llm.yml
imranq2 Dec 2, 2025
9c4a293
Update language_model_gateway/gateway/structures/openai/message/chat_…
imranq2 Dec 2, 2025
d56c851
fix: enforce content item type compliance in responses API converter
imranq2 Dec 2, 2025
27cdb90
fix: enforce content item type compliance in responses API converter
imranq2 Dec 2, 2025
3f36f36
fix: enforce content item type compliance in responses API converter
imranq2 Dec 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ cachetools = ">=5.5.0"
# aiofiles is a Python library for working with files asynchronously
#aiofiles = ">=24.1.0"
# pypdf is a Python library for working with PDFs
pypdf = ">=5.2.0"
pypdf = ">=6.4.0"
# backoff is a Python library for retrying requests
backoff = ">=2.2.1"
# Databricks SDK is a Python library for interacting with Databricks
Expand Down Expand Up @@ -118,7 +118,7 @@ pre-commit = ">=3.8.0"
# autoflake is a Python library for removing unused imports
autoflake = ">=2.3.1"
# mypy is a Python library for type checking
mypy = ">=1.13.0"
mypy = ">=1.19.0"
# pytest is a Python library for running tests
pytest = ">=8.3.3"
# pytest-asyncio is a Python library for running asyncio tests
Expand All @@ -131,7 +131,7 @@ types-requests = ">=2.32.4"
# pytest-httpx is a Python library for mocking HTTPX tests
pytest-httpx = ">=0.35.0"
# types-beautifulsoup is a Python library for typing BeautifulSoup
types-beautifulsoup4 = ">=4.12.0.20241020"
types-beautifulsoup4 = ">=4.12.0"
# types-cachetools is a Python library for typing cachetools
types-cachetools = ">=5.5.0"
# moto is a Python library for mocking AWS services
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-openwebui-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
# redirect on logout
WEBUI_AUTH_SIGNOUT_REDIRECT_URL: "https://open-webui.localhost"
# Sets the JWT expiration time in seconds. Valid time units: s, m, h, d, w or -1 for no expiration
JWT_EXPIRES_IN: "12h"
JWT_EXPIRES_IN: "5m"
# Use the settings below to simulate Aiden in services environment
# OAUTH_CLIENT_ID: "0oakho3xcj8GKejBr697"
# OPENID_PROVIDER_URL: "https://icanbwell.okta.com/.well-known/openid-configuration"
Expand Down
5 changes: 3 additions & 2 deletions docker-compose-openwebui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:
# OPENAI_API_BASE_URL: 'http://dev:5000/api/v1'
# Supports balanced OpenAI base API URLs, semicolon-separated.
# disable OPENAI_API since we use a Pipeline to handle requests
# ENABLE_OPENAI_API: 0
ENABLE_OPENAI_API: 0
OPENAI_API_BASE_URL: 'http://language-model-gateway:5000/api/v1'
CORS_ALLOW_ORIGIN: '*'
OPENAI_API_KEY: 'bedrock'
Expand Down Expand Up @@ -79,7 +79,8 @@ services:
# merges OAuth accounts with existing accounts using the same email address
OAUTH_MERGE_ACCOUNTS_BY_EMAIL: True
# Enables API key authentication. Needed for our script in Makefile to set up configuration
ENABLE_API_KEY: True
# https://docs.openwebui.com/getting-started/env-configuration#enable_api_keys
ENABLE_API_KEYS: True
# Use S3 for file storage: https://docs.openwebui.com/tutorials/s3-storage/
STORAGE_PROVIDER: s3
S3_ENDPOINT_URL: "https://s3.us-east-1.amazonaws.com"
Expand Down
2 changes: 1 addition & 1 deletion language_model_gateway/configs/config_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class AgentConfig(BaseModel):
tools: str | None = None
"""The names of the tool to use in the MCP call. If none is provided then all tools at the URL will be used. Separate multiple tool names with commas."""

auth: Literal["None", "jwt_token", "oauth"] | None = None
auth: Literal["None", "jwt_token", "oauth", "headers"] | None = None
"""The authentication method to use when calling the tool"""

auth_optional: bool | None = None
Expand Down
Loading
Loading