Skip to content

feat(aws-bedrock-mantle/openai.gpt-5.6-sol): add new models [bot]#1756

Open
models-bot[bot] wants to merge 2 commits into
mainfrom
bot/add-aws-bedrock-mantle-openai.gpt-5.6-sol-20260714-000541
Open

feat(aws-bedrock-mantle/openai.gpt-5.6-sol): add new models [bot]#1756
models-bot[bot] wants to merge 2 commits into
mainfrom
bot/add-aws-bedrock-mantle-openai.gpt-5.6-sol-20260714-000541

Conversation

@models-bot

@models-bot models-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Auto-generated by model-addition-agent for aws-bedrock-mantle/openai.gpt-5.6-sol.


Note

Low Risk
Additive provider metadata only; no runtime or application logic changes.

Overview
Adds a new aws-bedrock-mantle provider entry for openai.gpt-5.6-sol, registering the model as active with responses mode, serverless provisioning, and thinking enabled.

The config defines per-region token pricing (us-east-1 and us-east-2), a 272k context window, text/image input, and capabilities including function calling, prompt caching, structured output, and tool choice. AWS documentation links are included as sources.

Reviewed by Cursor Bugbot for commit 7d8f545. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions

Copy link
Copy Markdown
Contributor

/test-models

@harshiv-26

Copy link
Copy Markdown
Collaborator

Gateway test results

  • Total: 8
  • Passed: 0
  • Failed: 8
  • Validation failed: 0
  • Errored: 0
  • Skipped: 0
  • Success rate: 0.0%
Provider Model Scenarios
aws-bedrock-mantle openai.gpt-5.6-sol failure: tool-call:stream, params:stream, tool-call, reasoning, structured-output, reasoning:stream, structured-output:stream, params
Failures (8)

aws-bedrock-mantle/openai.gpt-5.6-sol — tool-call:stream (failure)

Error
Traceback (most recent call last):
  File "/tmp/tmpug36jvwh/snippet.py", line 25, in <module>
    response = client.responses.create(
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/resources/responses/responses.py", line 828, in create
    return self._post(
           ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1259, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1047, in request
    raise self._make_status_error_from_response(err.response) from None
openai.AuthenticationError: Error code: 401 - {'status': 'failure', 'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'error': {'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'type': 'APIError', 'code': '401'}, 'error_origin_level': 'api_error'}
Code snippet
from openai import OpenAI

client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")

tools = [
    {
        "type": "function",
        "name": "get_weather",
        "description": "Get the current weather for a location.",
        "parameters": {
            "type": "object",
            "properties": {
                "location": {
                    "type": "string",
                    "description": "The city name, e.g. London",
                },
            },
            "required": ["location"],
            "additionalProperties": False,
        },
        "strict": True,
    },
]

response = client.responses.create(
    model="test-v2-aws-bedrock-mantle/openai.gpt-5.6-sol",
    input=[
        {"role": "user", "content": "Use the get_weather tool to check the weather in London. You must call the tool, do not respond with plain text."},
    ],
    tools=tools,
    tool_choice="auto",
    stream=True,
)
_completed_response = None

for event in response:
    if event.type == "response.output_text.delta":
        print(event.delta, end="", flush=True)
    if event.type == "response.completed":
        _completed_response = event.response

if _completed_response is None:
    raise Exception(
        "VALIDATION FAILED: tool-call stream - no completed response received"
    )

_tool_calls = [_item for _item in _completed_response.output if _item.type == "function_call"]

if not _tool_calls:
    print(_completed_response.output_text)
    print(f"Tools sent: {len(_completed_response.tools)}, tool_choice: {_completed_response.tool_choice}")
    raise Exception(
        "VALIDATION FAILED: tool-call stream - no tool calls in response"
    )

for _tc in _tool_calls:
    print(f"\nFunction: {_tc.name}")
    print(f"Arguments: {_tc.arguments}")

print("\nVALIDATION: tool-call stream SUCCESS")

aws-bedrock-mantle/openai.gpt-5.6-sol — params:stream (failure)

Error
Traceback (most recent call last):
  File "/tmp/tmp04vl5ojp/snippet.py", line 5, in <module>
    response = client.responses.create(
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/resources/responses/responses.py", line 828, in create
    return self._post(
           ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1259, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1047, in request
    raise self._make_status_error_from_response(err.response) from None
openai.AuthenticationError: Error code: 401 - {'status': 'failure', 'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'error': {'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'type': 'APIError', 'code': '401'}, 'error_origin_level': 'api_error'}
Code snippet
from openai import OpenAI

client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")

response = client.responses.create(
    model="test-v2-aws-bedrock-mantle/openai.gpt-5.6-sol",
    input=[
        {"role": "user", "content": "What is the capital of France?"},
    ],
    stream=True,
)

for event in response:
    if event.type == "response.output_text.delta":
        print(event.delta, end="", flush=True)

aws-bedrock-mantle/openai.gpt-5.6-sol — tool-call (failure)

Error
Traceback (most recent call last):
  File "/tmp/tmpysm6d5mk/snippet.py", line 25, in <module>
    response = client.responses.create(
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/resources/responses/responses.py", line 828, in create
    return self._post(
           ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1259, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1047, in request
    raise self._make_status_error_from_response(err.response) from None
openai.AuthenticationError: Error code: 401 - {'status': 'failure', 'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'error': {'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'type': 'APIError', 'code': '401'}, 'error_origin_level': 'api_error'}
Code snippet
from openai import OpenAI

client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")

tools = [
    {
        "type": "function",
        "name": "get_weather",
        "description": "Get the current weather for a location.",
        "parameters": {
            "type": "object",
            "properties": {
                "location": {
                    "type": "string",
                    "description": "The city name, e.g. London",
                },
            },
            "required": ["location"],
            "additionalProperties": False,
        },
        "strict": True,
    },
]

response = client.responses.create(
    model="test-v2-aws-bedrock-mantle/openai.gpt-5.6-sol",
    input=[
        {"role": "user", "content": "Use the get_weather tool to check the weather in London. You must call the tool, do not respond with plain text."},
    ],
    tools=tools,
    tool_choice="auto",
    stream=False,
)
_tool_calls = [_item for _item in response.output if _item.type == "function_call"]

if not _tool_calls:
    print(response.output_text)
    print(f"Tools sent: {len(response.tools)}, tool_choice: {response.tool_choice}")
    raise Exception(
        "VALIDATION FAILED: tool-call - no tool calls in response"
    )

for _tc in _tool_calls:
    print(f"Function: {_tc.name}")
    print(f"Arguments: {_tc.arguments}")

print("VALIDATION: tool-call SUCCESS")

aws-bedrock-mantle/openai.gpt-5.6-sol — reasoning (failure)

Error
Traceback (most recent call last):
  File "/tmp/tmpw10albsp/snippet.py", line 5, in <module>
    response = client.responses.create(
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/resources/responses/responses.py", line 828, in create
    return self._post(
           ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1259, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1047, in request
    raise self._make_status_error_from_response(err.response) from None
openai.AuthenticationError: Error code: 401 - {'status': 'failure', 'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'error': {'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'type': 'APIError', 'code': '401'}, 'error_origin_level': 'api_error'}
Code snippet
from openai import OpenAI

client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")

response = client.responses.create(
    model="test-v2-aws-bedrock-mantle/openai.gpt-5.6-sol",
    input=[
        {"role": "user", "content": "How to calculate 3^3^3^3? Think step by step and show all reasoning."},
    ],
    reasoning={"effort": "medium"},
    stream=False,
)
_reasoning_items = [
    _item for _item in (getattr(response, "output", None) or [])
    if getattr(_item, "type", None) == "reasoning"
]
_usage = getattr(response, "usage", None)
_details = getattr(_usage, "output_tokens_details", None) if _usage else None
_reasoning_tokens = getattr(_details, "reasoning_tokens", 0) if _details else 0

if response.output_text:
    print(response.output_text)

if not _reasoning_items and not _reasoning_tokens:
    raise Exception(
        "VALIDATION FAILED: reasoning - no reasoning output items or reasoning tokens in response"
    )

print("VALIDATION: reasoning SUCCESS")

aws-bedrock-mantle/openai.gpt-5.6-sol — structured-output (failure)

Error
Traceback (most recent call last):
  File "/tmp/tmpouetnesf/snippet.py", line 21, in <module>
    response = client.responses.create(
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/resources/responses/responses.py", line 828, in create
    return self._post(
           ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1259, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1047, in request
    raise self._make_status_error_from_response(err.response) from None
openai.AuthenticationError: Error code: 401 - {'status': 'failure', 'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'error': {'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'type': 'APIError', 'code': '401'}, 'error_origin_level': 'api_error'}
Code snippet
from openai import OpenAI
import json

client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")

response_schema = json.loads('''{
  "title": "CalendarEvent",
  "type": "object",
  "properties": {
    "name": { "type": "string" },
    "date": { "type": "string" },
    "participants": {
      "type": "array",
      "items": { "type": "string" }
    }
  },
  "required": ["name", "date", "participants"],
  "additionalProperties": false
}''')

response = client.responses.create(
    model="test-v2-aws-bedrock-mantle/openai.gpt-5.6-sol",
    input=[
        {"role": "user", "content": "Alice and Bob are going to a science fair on Friday. Extract the event details as JSON."},
    ],
    text={"format": {"type": "json_schema", "name": "CalendarEvent", "strict": True, "schema": response_schema}},
    stream=False,
)
import json as _json

_content = response.output_text
print(_content)

if not _content:
    raise Exception("VALIDATION FAILED: structured-output - response content is empty")

_parsed = _json.loads(_content)

if "name" not in _parsed or "date" not in _parsed or "participants" not in _parsed:
    raise Exception("VALIDATION FAILED: structured-output - missing expected fields (name, date, participants)")

if not isinstance(_parsed.get("participants"), list):
    raise Exception("VALIDATION FAILED: structured-output - 'participants' is not a list, schema not enforced")

if set(_parsed.keys()) != {"name", "date", "participants"}:
    raise Exception(
        f"VALIDATION FAILED: structured-output - unexpected keys present: {set(_parsed.keys())}"
    )

print("VALIDATION: structured-output SUCCESS")

aws-bedrock-mantle/openai.gpt-5.6-sol — reasoning:stream (failure)

Error
Traceback (most recent call last):
  File "/tmp/tmp0diplhiq/snippet.py", line 5, in <module>
    response = client.responses.create(
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/resources/responses/responses.py", line 828, in create
    return self._post(
           ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1259, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1047, in request
    raise self._make_status_error_from_response(err.response) from None
openai.AuthenticationError: Error code: 401 - {'status': 'failure', 'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'error': {'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'type': 'APIError', 'code': '401'}, 'error_origin_level': 'api_error'}
Code snippet
from openai import OpenAI

client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")

response = client.responses.create(
    model="test-v2-aws-bedrock-mantle/openai.gpt-5.6-sol",
    input=[
        {"role": "user", "content": "How to calculate 3^3^3^3? Think step by step and show all reasoning."},
    ],
    reasoning={"effort": "medium"},
    stream=True,
)
_completed_response = None

for event in response:
    if event.type == "response.output_text.delta":
        print(event.delta, end="", flush=True)
    if event.type == "response.completed":
        _completed_response = event.response

if _completed_response is None:
    raise Exception(
        "VALIDATION FAILED: reasoning stream - no completed response received"
    )

_reasoning_items = [
    _item for _item in (getattr(_completed_response, "output", None) or [])
    if getattr(_item, "type", None) == "reasoning"
]
_usage = getattr(_completed_response, "usage", None)
_details = getattr(_usage, "output_tokens_details", None) if _usage else None
_reasoning_tokens = getattr(_details, "reasoning_tokens", 0) if _details else 0

if not _reasoning_items and not _reasoning_tokens:
    raise Exception(
        "VALIDATION FAILED: reasoning stream - no reasoning output items or reasoning tokens in response"
    )

print("\nVALIDATION: reasoning stream SUCCESS")

aws-bedrock-mantle/openai.gpt-5.6-sol — structured-output:stream (failure)

Error
Traceback (most recent call last):
  File "/tmp/tmpnrold8bi/snippet.py", line 21, in <module>
    response = client.responses.create(
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/resources/responses/responses.py", line 828, in create
    return self._post(
           ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1259, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1047, in request
    raise self._make_status_error_from_response(err.response) from None
openai.AuthenticationError: Error code: 401 - {'status': 'failure', 'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'error': {'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'type': 'APIError', 'code': '401'}, 'error_origin_level': 'api_error'}
Code snippet
from openai import OpenAI
import json

client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")

response_schema = json.loads('''{
  "title": "CalendarEvent",
  "type": "object",
  "properties": {
    "name": { "type": "string" },
    "date": { "type": "string" },
    "participants": {
      "type": "array",
      "items": { "type": "string" }
    }
  },
  "required": ["name", "date", "participants"],
  "additionalProperties": false
}''')

response = client.responses.create(
    model="test-v2-aws-bedrock-mantle/openai.gpt-5.6-sol",
    input=[
        {"role": "user", "content": "Alice and Bob are going to a science fair on Friday. Extract the event details as JSON."},
    ],
    text={"format": {"type": "json_schema", "name": "CalendarEvent", "strict": True, "schema": response_schema}},
    stream=True,
)
import json as _json

_accumulated = ""
for event in response:
    if event.type == "response.output_text.delta":
        _accumulated += event.delta
        print(event.delta, end="", flush=True)

if not _accumulated:
    raise Exception("VALIDATION FAILED: structured-output stream - no content received")

_parsed = _json.loads(_accumulated)

if "name" not in _parsed or "date" not in _parsed or "participants" not in _parsed:
    raise Exception("VALIDATION FAILED: structured-output stream - missing expected fields (name, date, participants)")

if not isinstance(_parsed.get("participants"), list):
    raise Exception("VALIDATION FAILED: structured-output stream - 'participants' is not a list, schema not enforced")

if set(_parsed.keys()) != {"name", "date", "participants"}:
    raise Exception(
        f"VALIDATION FAILED: structured-output stream - unexpected keys present: {set(_parsed.keys())}"
    )

print("\nVALIDATION: structured-output stream SUCCESS")

aws-bedrock-mantle/openai.gpt-5.6-sol — params (failure)

Error
Traceback (most recent call last):
  File "/tmp/tmplihv8u0o/snippet.py", line 5, in <module>
    response = client.responses.create(
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/resources/responses/responses.py", line 828, in create
    return self._post(
           ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1259, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1047, in request
    raise self._make_status_error_from_response(err.response) from None
openai.AuthenticationError: Error code: 401 - {'status': 'failure', 'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'error': {'message': 'aws-bedrock-mantle error: The security token included in the request is invalid.', 'type': 'APIError', 'code': '401'}, 'error_origin_level': 'api_error'}
Code snippet
from openai import OpenAI

client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")

response = client.responses.create(
    model="test-v2-aws-bedrock-mantle/openai.gpt-5.6-sol",
    input=[
        {"role": "user", "content": "What is the capital of France?"},
    ],
    stream=False,
)

print(response.output_text)

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