2026-11-26 17:38:30,807 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:38:30,906 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:38:30,911 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.3588120337241727s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:38:44,726 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:38:44,825 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:38:44,837 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.678256946135394s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:39:07,329 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 17:39:50,856 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: Unable to authenticate
2026-11-26 17:39:50,867 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 18s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 17:40:23,323 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:40:32,677 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:40:32,682 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.876950951318651s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:40:39,949 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 1/5): [Errno 111] Connect call failed ('127.0.0.1', 38819)
2026-11-26 17:40:40,953 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 2/5): [Errno 111] Connect call failed ('127.0.0.1', 38819)
2026-11-26 17:40:42,957 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 3/5): [Errno 111] Connect call failed ('127.0.0.1', 38819)
2026-11-26 17:40:44,403 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:40:44,474 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:40:44,499 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.186811090052659s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:40:46,964 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 4/5): [Errno 111] Connect call failed ('127.0.0.1', 38819)
2026-11-26 17:40:54,974 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: stopped after 5 failed reconnect attempts: [Errno 111] Connect call failed ('127.0.0.1', 38819)
2026-11-26 17:41:05,367 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:41:38,580 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:41:46,936 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:41:46,941 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.174808632202715s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:42:32,448 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:42:32,536 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:42:32,547 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.245881418035397s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:42:46,679 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:43:21,706 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:43:21,712 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 18s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 17:43:40,099 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 1/5): [Errno 111] Connect call failed ('127.0.0.1', 34703)
2026-11-26 17:43:41,104 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 2/5): [Errno 111] Connect call failed ('127.0.0.1', 34703)
2026-11-26 17:43:43,108 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 3/5): [Errno 111] Connect call failed ('127.0.0.1', 34703)
2026-11-26 17:43:47,113 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 4/5): [Errno 111] Connect call failed ('127.0.0.1', 34703)
2026-11-26 17:43:55,124 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: stopped after 5 failed reconnect attempts: [Errno 111] Connect call failed ('127.0.0.1', 34703)
2026-11-26 17:43:55,337 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:44:07,938 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:44:07,944 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.1411048757479185s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:44:40,288 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:44:40,399 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:44:40,405 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.280109331409099s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:45:23,234 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:45:32,118 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:45:32,123 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.6454111040532005s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:45:45,521 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:45:45,623 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:45:45,643 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.181026770955698s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:46:37,043 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:47:10,266 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 1/5): [Errno 111] Connect call failed ('127.0.0.1', 32861)
2026-11-26 17:47:11,270 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 2/5): [Errno 111] Connect call failed ('127.0.0.1', 32861)
2026-11-26 17:47:13,275 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 3/5): [Errno 111] Connect call failed ('127.0.0.1', 32861)
2026-11-26 17:47:17,281 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 4/5): [Errno 111] Connect call failed ('127.0.0.1', 32861)
2026-11-26 17:47:20,105 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:47:20,113 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 18s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 17:47:25,292 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: stopped after 5 failed reconnect attempts: [Errno 111] Connect call failed ('127.0.0.1', 32861)
2026-11-26 17:47:38,385 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:47:46,861 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:47:51,887 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:47:51,892 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 3.0s (attempt 1/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:49:06,211 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:49:21,965 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:49:21,976 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.3527765105301106s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:49:34,084 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:49:34,156 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:49:34,161 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.018132723454825s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:49:54,382 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:49:54,476 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:49:54,484 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 15s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 17:50:10,422 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 1/5): [Errno 111] Connect call failed ('127.0.0.1', 40541)
2026-11-26 17:50:11,426 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 2/5): [Errno 111] Connect call failed ('127.0.0.1', 40541)
2026-11-26 17:50:13,430 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 3/5): [Errno 111] Connect call failed ('127.0.0.1', 40541)
2026-11-26 17:50:17,437 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 4/5): [Errno 111] Connect call failed ('127.0.0.1', 40541)
2026-11-26 17:50:25,448 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: stopped after 5 failed reconnect attempts: [Errno 111] Connect call failed ('127.0.0.1', 40541)
2026-11-26 17:50:53,111 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:51:06,148 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:51:06,152 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.7376428969374s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:51:28,459 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:51:28,528 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:51:28,539 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.938562441541318s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:51:45,347 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:51:45,469 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:51:45,484 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 2/5, retrying in 36s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 17:52:35,773 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:52:44,643 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:52:44,647 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.454440185779729s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:52:57,367 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:52:57,415 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:52:57,428 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.936415785909192s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:53:15,394 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:53:15,495 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:53:15,508 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 3/5, retrying in 65s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 17:55:22,102 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:55:40,951 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:55:40,956 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.688016268498462s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:55:53,143 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:55:53,195 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:55:53,222 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.095351921738387s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:56:04,136 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:57:03,981 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:57:10,606 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 1/5): [Errno 111] Connect call failed ('127.0.0.1', 40459)
2026-11-26 17:57:11,610 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 2/5): [Errno 111] Connect call failed ('127.0.0.1', 40459)
2026-11-26 17:57:13,614 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 3/5): [Errno 111] Connect call failed ('127.0.0.1', 40459)
2026-11-26 17:57:17,621 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 4/5): [Errno 111] Connect call failed ('127.0.0.1', 40459)
2026-11-26 17:57:35,448 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:57:35,531 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:57:35,542 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.1729904871772963s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:58:21,937 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:58:32,382 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:58:32,387 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.765441142464574s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:58:47,640 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 17:58:47,751 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 17:58:47,763 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 16s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 17:59:40,741 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 1/5): [Errno 111] Connect call failed ('127.0.0.1', 35111)
2026-11-26 17:59:41,745 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 2/5): [Errno 111] Connect call failed ('127.0.0.1', 35111)
2026-11-26 17:59:43,750 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 3/5): [Errno 111] Connect call failed ('127.0.0.1', 35111)
2026-11-26 17:59:47,757 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: connect failed (attempt 4/5): [Errno 111] Connect call failed ('127.0.0.1', 35111)
2026-11-26 17:59:55,768 WARNING tools.browser_supervisor: CDP supervisor 20261118_131447_23b78fd2: stopped after 5 failed reconnect attempts: [Errno 111] Connect call failed ('127.0.0.1', 35111)
2026-11-26 17:59:58,392 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:00:56,896 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:00:59,821 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:01:13,480 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: Unable to authenticate
2026-11-26 18:01:13,482 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 2.006976880034823s (attempt 1/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:01:16,136 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:01:16,223 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: Unable to authenticate
2026-11-26 18:01:16,226 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 5.0505351229164654s (attempt 2/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:01:16,321 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: Unable to authenticate
2026-11-26 18:01:16,337 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.375605717281452s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:01:35,185 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:01:35,288 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: Unable to authenticate
2026-11-26 18:01:35,291 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.196938214593927s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:01:42,012 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:01:42,189 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:01:42,195 WARNING [20261126_135044_2b2468] agent.conversation_loop: [subagent-0] Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 3s thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored
2026-11-26 18:01:56,742 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:01:56,819 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:01:56,826 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 16s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:02:01,810 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:02:13,136 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:02:13,141 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 3.0s (attempt 1/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:02:27,177 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:02:27,324 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:02:27,332 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 3.0s (attempt 2/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:03:03,916 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:03:08,991 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:03:26,638 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:03:26,642 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.85637663006208s (attempt 1/3) thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:03:50,921 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:03:51,033 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:03:51,038 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.779134477428023s (attempt 2/3) thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:04:28,807 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:04:37,990 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:04:37,995 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 15s thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:05:07,745 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:05:07,842 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:05:07,847 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.924665628626495s (attempt 1/3) thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:05:20,126 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:05:20,238 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:05:20,243 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.724303925955554s (attempt 2/3) thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:05:41,546 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:05:58,170 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:06:08,734 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:06:08,739 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 3.0s (attempt 1/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:06:21,980 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:06:22,114 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:06:22,119 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 3.0s (attempt 2/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:06:28,401 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: Unable to authenticate
2026-11-26 18:06:28,410 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 2/5, retrying in 32s thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:06:36,036 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:06:36,132 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:06:36,145 WARNING [20261126_135044_2b2468] agent.conversation_loop: [subagent-0] Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 3s thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored
2026-11-26 18:06:56,728 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:06:56,830 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: Unable to authenticate
2026-11-26 18:06:56,834 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 2.3181241154805114s (attempt 1/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:07:37,018 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:08:05,295 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:08:16,359 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:08:16,365 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.6975008245929954s (attempt 1/3) thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:08:36,512 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:08:36,613 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:08:36,626 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.470163205387791s (attempt 2/3) thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:08:57,027 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:08:57,115 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:08:57,130 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 18s thread=bg-review:140086328940224 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:09:07,447 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:09:16,754 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:09:16,757 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Retrying API call in 2.4684661646672295s (attempt 1/3) thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:09:33,837 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:09:34,849 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:09:34,998 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:09:35,007 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Retrying API call in 4.531130425814516s (attempt 2/3) thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:09:43,302 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:09:43,307 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.1147021291960595s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:09:56,560 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:09:56,660 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:09:56,664 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.503590433618041s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:10:12,661 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:10:12,745 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:10:12,757 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 16s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:10:18,416 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:10:42,309 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:11:05,982 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:11:05,987 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 16s thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:11:29,798 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:11:29,803 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.539419754308389s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:11:47,138 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:11:57,180 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:11:57,184 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Retrying API call in 2.2337308484046248s (attempt 1/3) thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:12:11,352 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:12:11,489 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:12:11,498 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Retrying API call in 4.048273401848588s (attempt 2/3) thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:12:14,859 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:12:32,645 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:12:32,751 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: Unable to authenticate
2026-11-26 18:12:32,758 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 2/5, retrying in 35s thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:12:58,914 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:13:02,835 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:13:02,839 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.840323285477687s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:13:12,049 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:13:12,054 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 3.0s (attempt 1/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:13:25,822 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:13:57,144 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:13:59,675 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: Unable to authenticate
2026-11-26 18:13:59,677 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Retrying API call in 2.3032737063389286s (attempt 1/3) thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:14:10,851 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:14:15,434 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:14:15,439 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.967575837612011s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:14:20,234 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:14:20,240 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 3.0s (attempt 1/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:14:45,080 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:14:55,204 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:14:55,209 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Retrying API call in 4.825420539263784s (attempt 2/3) thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:14:57,249 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:15:16,239 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:15:16,347 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: Unable to authenticate
2026-11-26 18:15:16,351 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 3/5, retrying in 63s thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:15:25,244 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:15:25,249 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.992481462914656s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:15:54,612 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Service temporarily unavailable. Please try again later.', 'type': 'service_unavailable'}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Service temporarily unavailable. Please try again later.', 'type': 'service_unavailable'}}
2026-11-26 18:15:54,669 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: Service temporarily unavailable. Please try again later.
2026-11-26 18:15:54,687 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 17s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:16:29,302 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:16:29,914 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:16:38,643 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: Unable to authenticate
2026-11-26 18:16:38,648 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.021137473096896s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:16:41,176 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:16:41,183 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Retrying API call in 2.4931456790365822s (attempt 1/3) thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:16:50,965 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:16:51,042 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:16:51,047 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.391607106315906s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:17:07,258 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:17:07,408 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:17:07,414 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Retrying API call in 5.0396194038179605s (attempt 2/3) thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:17:09,004 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:17:09,103 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:17:09,114 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 2/5, retrying in 35s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:17:22,063 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:17:22,170 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:17:22,185 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 4/5, retrying in 71s thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:18:02,413 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:18:09,016 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:19:12,858 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:19:26,620 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:19:26,626 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Retrying API call in 2.8019813121586834s (attempt 1/3) thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:19:31,337 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:19:32,321 WARNING [20261118_131447_23b78fd2] agent.chat_completion_helpers: Interrupted provider wait counted as stale after 42s with no output; consecutive stale attempts=1.
2026-11-26 18:19:32,323 WARNING [20261118_131447_23b78fd2] run_agent: OpenAI client aborted (stream_interrupt_abort, shared=False, tcp_force_closed=0, deferred_close=stranger_thread) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 — no sockets found; in-flight request may keep running until the provider finishes
2026-11-26 18:19:40,555 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:19:40,678 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:19:40,694 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Retrying API call in 4.776106941197218s (attempt 2/3) thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:19:49,067 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:19:49,729 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:19:49,819 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: Unable to authenticate
2026-11-26 18:19:49,836 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.120092534197308s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:20:08,980 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:20:09,107 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:20:09,128 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 5/5, retrying in 68s thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:20:48,100 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:20:59,265 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:20:59,270 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.548660325241486s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:21:27,279 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:21:27,845 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:21:27,918 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:21:27,941 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 17s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:21:38,862 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:21:38,867 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Retrying API call in 2.5763957676029956s (attempt 1/3) thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:21:53,435 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:21:56,657 WARNING [20261126_135044_2b2468] agent.tool_executor: Tool terminal returned error (0.28s): {"output": "", "exit_code": -15, "error": null, "exit_code_meaning": "Command terminated by signal 15: SIGTERM (terminated — kill/timeout or shutdown requested it to stop)"}
2026-11-26 18:22:05,229 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:22:05,532 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:22:05,616 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:22:05,654 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: Retrying API call in 4.929514535206652s (attempt 2/3) thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:22:18,915 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:22:19,048 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:22:19,061 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.1233790480628842s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:22:19,488 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:22:19,565 WARNING [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=ThreadPoolExecutor-1192_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:22:19,688 ERROR [local-5dad9a308505e2113ba37b43cb0f2f665cb16c7c0ebd69d8410ee17fcd2ec97d] agent.conversation_loop: API call failed after 3 retries. HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503} | provider=custom model=orca/orcacyber-glm-5.3 msgs=2 tokens=~7,527
2026-11-26 18:22:20,142 ERROR cron.scheduler: Job 'Forge-Server-Bereitstellungs-Wache' failed: RuntimeError: HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/cron/scheduler.py", line 2572, in run_job
    final_response = _final_response_from_result(result, job_id, job_name, AIAgent)
  File "/home/marcel7364/.hermes/hermes-agent/cron/scheduler.py", line 2030, in _final_response_from_result
    raise RuntimeError(result.get("error") or final_response_text or "agent reported failure")
RuntimeError: HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:22:20,294 ERROR gateway.session_authority: Admitted turn 21087924dfb941c68f7346d903d453fe failed
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/gateway/session_authority.py", line 1369, in _execute_claimed
    return await execute_finite_admission(self, ref, row), 'completed'
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/gateway/session_finite.py", line 81, in execute_finite_admission
    return await execute_admission(authority, ref, row)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/gateway/session_ingress.py", line 309, in execute_admission
    return await execute(authority, ref, row, policy)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/gateway/session_cron.py", line 332, in execute
    raise RuntimeError(result[3] or 'cron execution failed')
RuntimeError: RuntimeError: HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:23:00,022 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:23:06,952 WARNING [20261118_131447_23b78fd2] agent.chat_completion_helpers: Interrupted provider wait counted as stale after 46s with no output; consecutive stale attempts=1.
2026-11-26 18:23:06,954 WARNING [20261118_131447_23b78fd2] run_agent: OpenAI client aborted (stream_interrupt_abort, shared=False, tcp_force_closed=0, deferred_close=stranger_thread) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 — no sockets found; in-flight request may keep running until the provider finishes
2026-11-26 18:23:24,635 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:23:24,762 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:23:24,768 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.4701655483063054s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:23:35,116 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:23:35,229 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:23:35,234 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.492618078424417s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:23:48,042 WARNING [20261126_135044_2b2468] agent.tool_executor: Tool terminal returned error (0.10s): {"output": "grep: /tmp/cgv8.log: No such file or directory\n\n===RC===\ntail: cannot open '/tmp/cgv8.log' for reading: No such file or directory", "exit_code": 1, "error": null}
2026-11-26 18:23:49,903 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:23:49,950 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:23:49,978 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 17s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:23:59,072 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:24:13,566 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:24:13,571 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 3.0s (attempt 1/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:24:21,358 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:24:27,369 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:24:27,532 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:24:27,537 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 3.0s (attempt 2/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:24:34,522 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:24:34,527 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.433867136622281s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:24:40,191 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:24:40,339 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:24:40,345 WARNING [20261126_135044_2b2468] agent.conversation_loop: [subagent-0] Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 3s thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored
2026-11-26 18:24:46,814 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:24:46,890 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:24:46,920 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.077873149062758s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:24:54,265 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:24:54,328 WARNING [20261126_135044_2b2468] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:24:54,340 WARNING [20261126_135044_2b2468] agent.conversation_loop: Retrying API call in 3.0s (attempt 1/3) thread=ThreadPoolExecutor-503_0:140086337332928 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:25:07,257 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:25:07,362 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: Unable to authenticate
2026-11-26 18:25:07,396 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 2/5, retrying in 33s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:25:46,344 ERROR [20261126_135044_2b2468] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:25:50,080 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:26:02,599 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:26:02,603 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 3.0s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:26:16,510 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:26:16,606 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:26:16,611 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.023115488637069s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:27:01,359 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:27:14,873 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:27:14,877 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 3/5, retrying in 69s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:28:35,430 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:29:03,376 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:29:03,381 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.669328653398349s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:29:24,942 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:29:25,075 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:29:25,085 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.0579682802761186s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:30:03,331 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:30:12,306 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:30:12,311 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.0956590830948683s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:30:25,006 ERROR [20261126_131046_02d5ca] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:30:35,414 WARNING [20261126_131046_02d5ca] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-279_0:140086544774848 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:30:35,423 WARNING [20261126_131046_02d5ca] agent.conversation_loop: Retrying API call in 3.0s (attempt 1/3) thread=ThreadPoolExecutor-279_0:140086544774848 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:30:50,304 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:30:50,378 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:30:50,407 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.4522919702835s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:31:04,569 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:31:17,032 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:31:17,038 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 16s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:31:38,859 ERROR [20261126_131046_02d5ca] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:31:46,830 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:31:46,940 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:31:46,957 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.3472935585710717s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:32:00,313 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:32:00,376 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:32:00,387 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.928956701748141s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:32:37,233 ERROR [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:32:40,246 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:32:40,250 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: Retrying API call in 2.425421572673032s (attempt 1/3) thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:32:43,797 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:32:52,623 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:32:52,634 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 2/5, retrying in 31s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:32:52,799 ERROR [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:32:52,945 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:32:52,972 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: Retrying API call in 4.556988630145856s (attempt 2/3) thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:33:13,483 ERROR [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:33:13,585 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:33:13,592 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 17s thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:33:20,275 ERROR [20261126_131046_02d5ca] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:33:31,231 WARNING [20261126_131046_02d5ca] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-279_0:140086544774848 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:33:31,237 WARNING [20261126_131046_02d5ca] agent.conversation_loop: Retrying API call in 3.0s (attempt 1/3) thread=ThreadPoolExecutor-279_0:140086544774848 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:33:43,156 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:33:43,276 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:33:43,281 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.7829053713917205s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:33:55,659 ERROR [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:34:05,638 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:34:05,643 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: Retrying API call in 3.0s (attempt 1/3) thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:34:35,920 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:34:49,925 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:34:49,930 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.071292355179915s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:34:54,767 ERROR [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:34:54,870 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:34:54,895 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: Retrying API call in 4.202734479325908s (attempt 2/3) thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:35:01,299 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:35:01,400 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"retry_with_backoff","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:35:01,436 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 3s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:35:07,533 ERROR [20261126_131046_02d5ca] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:35:07,833 ERROR [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:35:26,872 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.tool_executor: Tool terminal returned error (0.22s): {"output": "-rw-------  1 marcel7364 marcel7364   738 Nov 13 13:43 gk_worker3_vpsbit.json\n-rw-------  1 marcel7364 marcel7364   747 Nov 13 13:43 gk_worker4_vpsbit.json\n-rw-------  1 marcel7364 marce
2026-11-26 18:35:48,299 ERROR [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:35:48,428 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:35:48,443 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: Retrying API call in 2.435923678703149s (attempt 1/3) thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:36:02,549 ERROR [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:36:02,672 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:36:02,696 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: Retrying API call in 5.09049119084539s (attempt 2/3) thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:36:07,622 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:36:21,211 ERROR [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:36:21,313 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:36:21,356 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.4244368222849273s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:36:30,015 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:36:30,020 WARNING [local-c9f8371b497fcd78b7dd0eb888695c5fd09cd55fd455fb3bbfca834ef7463593] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 16s thread=ThreadPoolExecutor-1212_0:140086062610112 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:37:17,442 WARNING [20261118_131447_23b78fd2] agent.chat_completion_helpers: Interrupted provider wait counted as stale after 53s with no output; consecutive stale attempts=1.
2026-11-26 18:38:16,773 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:38:21,363 ERROR [20261126_183806_520d6a] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:38:23,716 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:38:23,722 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.3546493249944653s (attempt 1/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:38:30,189 WARNING [20261126_183806_520d6a] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-1232_0:140086278612672 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:38:30,194 WARNING [20261126_183806_520d6a] agent.conversation_loop: Retrying API call in 2.147644846474864s (attempt 1/3) thread=ThreadPoolExecutor-1232_0:140086278612672 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:38:35,481 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:38:35,597 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:38:35,608 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.143468604782042s (attempt 2/3) thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:38:47,150 ERROR [20261126_183806_c94436] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:38:47,613 ERROR [20261126_183806_b985a4] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:38:53,826 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:38:53,878 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:38:53,903 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 16s thread=hermes-gateway_57:140086402098880 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3
2026-11-26 18:38:56,460 WARNING [20261126_183806_b985a4] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-1230_0:140086369568448 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:38:56,465 WARNING [20261126_183806_b985a4] agent.conversation_loop: Retrying API call in 2.9936808148349927s (attempt 1/3) thread=ThreadPoolExecutor-1230_0:140086369568448 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:39:10,071 ERROR [20261126_183806_b985a4] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:39:10,254 WARNING [20261126_183806_b985a4] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=ThreadPoolExecutor-1230_0:140086369568448 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:39:10,275 WARNING [20261126_183806_b985a4] agent.conversation_loop: Retrying API call in 5.568990966057031s (attempt 2/3) thread=ThreadPoolExecutor-1230_0:140086369568448 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:39:19,100 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:39:24,438 WARNING [20261126_183806_c94436] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=ThreadPoolExecutor-1231_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:39:24,443 WARNING [20261126_183806_c94436] agent.conversation_loop: Retrying API call in 2.0738291049550304s (attempt 1/3) thread=ThreadPoolExecutor-1231_0:140086303762112 provider=custom base_url=https://nano-gpt.com/api/v1 model=z-ai/glm-5.3-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:39:41,890 WARNING [20261126_183806_c94436] agent.tool_executor: Tool terminal returned error (3.46s): {"output": "wc: cdx_brandhills.txt: No such file or directory\nhead: cannot open 'cdx_brandhills.txt' for reading: No such file or directory", "exit_code": 1, "error": null, "cwd": "/home/marcel7364/d
2026-11-26 18:39:41,953 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 18:39:53,015 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:39:54,740 ERROR [20261126_183806_520d6a] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:39:55,339 WARNING gateway.run: Shutdown context: signal=UNKNOWN under_systemd=yes supervisor=systemd parent_pid=41435 parent_name=systemd loadavg_1m=0.16
2026-11-26 18:39:55,354 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes supervisor=systemd parent_pid=41435 parent_name=systemd loadavg_1m=0.16
2026-11-26 18:40:18,688 ERROR [20261126_183806_b985a4] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:40:25,461 ERROR [20261126_183806_c94436] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:40:25,623 WARNING gateway.run: Gateway drain timed out after 30.1s with 0 active agent(s), 0 in-flight cron job(s), 0 api_server run(s), and 0 deferred agent worker(s); interrupting remaining work.
2026-11-26 18:40:26,122 WARNING agent.chat_completion_helpers: Interrupted provider wait counted as stale after 46s with no output; consecutive stale attempts=1.
2026-11-26 18:40:26,125 WARNING agent.chat_completion_helpers: Interrupted provider wait counted as stale after 42s with no output; consecutive stale attempts=1.
2026-11-26 18:40:26,130 WARNING agent.chat_completion_helpers: Interrupted provider wait counted as stale after 43s with no output; consecutive stale attempts=1.
2026-11-26 18:40:26,628 WARNING [20261126_131046_02d5ca] agent.tool_executor: Tool terminal returned error (77.68s): {"output": "[Pipeline] Anti-Captcha übersprungen, nächster Provider …\nAlle Provider fehlgeschlagen. Letzter Fehler: Anti-Captcha: API-Fehler bei getTaskResult: Recaptcha server reported that site key
2026-11-26 18:40:29,345 WARNING run_agent: OpenAI client aborted (agent_close_in_flight, shared=False, tcp_force_closed=0, deferred_close=stranger_thread) thread=hermes-gateway-hk_0:140086598276800 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 — no sockets found; in-flight request may keep running until the provider finishes
2026-11-26 18:40:29,792 WARNING hermes_state: state.db connection for /home/marcel7364/.hermes/profiles/galaktikus/state.db was closed while a read was still in flight — reopening (teardown/worker race, #94736)
2026-11-26 18:40:35,076 WARNING hermes_cli.gateway_multiplex_mode: This gateway stays standalone: this profile is standalone (gateway.standalone: true); it serves only itself. It serves only the launching profile.
2026-11-26 18:40:35,393 WARNING hermes.security_audit: Security posture audit found 1 issue(s) — review your deployment:
2026-11-26 18:40:35,393 WARNING hermes.security_audit:   [security 1/1] SSH password authentication is ENABLED (default — no explicit directive). Password auth is brute-forceable and dangerous on an internet-facing box. Set 'PasswordAuthentication no' in sshd_config and use key-based auth.
2026-11-26 18:40:36,498 WARNING hermes_cli.gateway_multiplex_mode: This gateway stays standalone: this profile is standalone (gateway.standalone: true); it serves only itself. It serves only the launching profile.
2026-11-26 18:40:38,898 WARNING hermes_plugins.platforms__telegram.adapter: [Telegram] Discovering Telegram API fallback IPs via DNS-over-HTTPS…
2026-11-26 18:40:39,586 WARNING hermes_plugins.platforms__telegram.adapter: [Telegram] Connecting to Telegram (attempt 1/8)…
2026-11-26 18:40:40,491 WARNING tools.delegate_tool: delegation.max_concurrent_children=40: each child consumes API tokens independently. High values multiply cost linearly.
2026-11-26 18:40:50,067 WARNING hermes_plugins.platforms__telegram.adapter: [Telegram] Connected to Telegram (polling mode)
2026-11-26 18:40:57,176 WARNING agent.context_pin: model.context_length pins orca/orcacyber-glm-5.3 at 262,144 tokens but the provider advertises 1,048,576; the pin wins. Remove model.context_length from config.yaml to use the advertised window.
2026-11-26 18:41:07,132 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:41:48,818 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_1:123730310366912 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:41:48,824 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.200363141721465s (attempt 1/3) thread=hermes-gateway_1:123730310366912 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:42:01,649 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:42:01,808 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_1:123730310366912 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:42:01,812 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.13045277531776s (attempt 2/3) thread=hermes-gateway_1:123730310366912 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:42:33,207 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:43:58,938 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:44:22,233 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_1:123730310366912 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:44:22,238 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.863609391426346s (attempt 1/3) thread=hermes-gateway_1:123730310366912 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:44:41,686 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:44:41,774 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_1:123730310366912 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:44:41,779 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.3195783265897005s (attempt 1/3) thread=hermes-gateway_1:123730310366912 provider=custom base_url=https://nano-gpt.com/api/v1 model=orca/orcacyber-glm-5.3 policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:44:43,271 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes supervisor=systemd parent_pid=41435 parent_name=systemd loadavg_1m=0.19
2026-11-26 18:44:43,712 WARNING gateway.run: Gateway drain timed out after 0.0s with 1 active agent(s), 0 in-flight cron job(s), 0 api_server run(s), and 0 deferred agent worker(s); interrupting remaining work.
2026-11-26 18:44:44,224 WARNING gateway.session_authority: Session 20261118_131447_23b78fd2 paused: runtime_draining at _require_admission_open:263
2026-11-26 18:44:49,014 WARNING hermes_cli.gateway_multiplex_mode: This gateway stays standalone: this profile is standalone (gateway.standalone: true); it serves only itself. It serves only the launching profile.
2026-11-26 18:44:49,304 WARNING hermes.security_audit: Security posture audit found 1 issue(s) — review your deployment:
2026-11-26 18:44:49,305 WARNING hermes.security_audit:   [security 1/1] SSH password authentication is ENABLED (default — no explicit directive). Password auth is brute-forceable and dangerous on an internet-facing box. Set 'PasswordAuthentication no' in sshd_config and use key-based auth.
2026-11-26 18:44:49,954 WARNING hermes_cli.gateway_multiplex_mode: This gateway stays standalone: this profile is standalone (gateway.standalone: true); it serves only itself. It serves only the launching profile.
2026-11-26 18:44:51,786 WARNING hermes_plugins.platforms__telegram.adapter: [Telegram] Discovering Telegram API fallback IPs via DNS-over-HTTPS…
2026-11-26 18:44:52,381 WARNING tools.delegate_tool: delegation.max_concurrent_children=40: each child consumes API tokens independently. High values multiply cost linearly.
2026-11-26 18:44:52,461 WARNING hermes_plugins.platforms__telegram.adapter: [Telegram] Connecting to Telegram (attempt 1/8)…
2026-11-26 18:45:02,882 WARNING hermes_plugins.platforms__telegram.adapter: [Telegram] Connected to Telegram (polling mode)
2026-11-26 18:46:07,358 WARNING agent.context_pin: model.context_length pins deepseek/deepseek-v4.1-flash-1017-uncensored at 262,144 tokens but the provider advertises 1,000,000; the pin wins. Remove model.context_length from config.yaml to use the advertised window.
2026-11-26 18:46:49,305 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:47:09,435 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:47:09,441 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.3373506901949543s (attempt 1/3) thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:47:49,616 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:48:33,806 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:48:33,811 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.062023642207824s (attempt 2/3) thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:48:53,121 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:49:10,226 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:49:10,298 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:49:10,304 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.641244462164625s (attempt 1/3) thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:49:24,239 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:49:24,345 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:49:24,351 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.851794833345507s (attempt 2/3) thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:49:46,718 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:49:46,781 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored summary=HTTP 503: Unable to authenticate
2026-11-26 18:49:46,850 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 18s thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored
2026-11-26 18:50:01,305 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:50:11,319 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:50:11,324 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.7044546936046228s (attempt 1/3) thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:50:22,693 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:50:22,801 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:50:22,805 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 4.652144312457588s (attempt 2/3) thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:51:30,986 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'retry_with_backoff', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:52:45,772 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:53:02,097 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:53:02,102 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.5717425515627133s (attempt 1/3) thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:53:21,411 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:53:21,490 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored summary=HTTP 503: Unable to authenticate
2026-11-26 18:53:21,499 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.769545331716504s (attempt 2/3) thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored policy=default error=Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:53:44,100 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': {'message': 'Unable to authenticate', 'type': 'server_error', 'code': 'internal_error', 'status': 503}}
2026-11-26 18:53:44,194 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 3/3) error_type=InternalServerError thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored summary=HTTP 503: Unable to authenticate
2026-11-26 18:53:44,199 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Provider unavailable (overloaded) — auto-recovery cycle 1/5, retrying in 16s thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored
2026-11-26 18:54:28,367 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:55:14,594 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3) error_type=InternalServerError thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:55:14,599 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 2.827447141099222s (attempt 1/3) thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:55:53,856 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:56:05,585 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 2/3) error_type=InternalServerError thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored summary=HTTP 503: {"error":"Billing reservation failed","reason":"admission_unavailable","limit_source":"prepaid_reservation","scope":"payer","retry_advice":"check_request_status","code":"async_billing_reservation_failed","status":503}
2026-11-26 18:56:05,590 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: Retrying API call in 5.762650552262062s (attempt 2/3) thread=hermes-gateway_1:130492619982528 provider=custom base_url=https://nano-gpt.com/api/v1 model=deepseek/deepseek-v4.1-flash-1017-uncensored policy=default error=Error code: 503 - {'error': 'Billing reservation failed', 'reason': 'admission_unavailable', 'limit_source': 'prepaid_reservation', 'scope': 'payer', 'retry_advice': 'check_request_status', 'code': 'async_billing_reservation_failed', 'status': 503}
2026-11-26 18:57:11,126 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes supervisor=systemd parent_pid=41435 parent_name=systemd loadavg_1m=0.06
2026-11-26 18:57:11,509 WARNING gateway.run: Gateway drain timed out after 0.0s with 1 active agent(s), 0 in-flight cron job(s), 0 api_server run(s), and 0 deferred agent worker(s); interrupting remaining work.
2026-11-26 18:57:12,019 WARNING gateway.session_authority: Session 20261118_131447_23b78fd2 paused: runtime_draining at _require_admission_open:263
2026-11-26 18:57:16,814 WARNING hermes_cli.gateway_multiplex_mode: This gateway stays standalone: this profile is standalone (gateway.standalone: true); it serves only itself. It serves only the launching profile.
2026-11-26 18:57:17,103 WARNING hermes.security_audit: Security posture audit found 1 issue(s) — review your deployment:
2026-11-26 18:57:17,103 WARNING hermes.security_audit:   [security 1/1] SSH password authentication is ENABLED (default — no explicit directive). Password auth is brute-forceable and dangerous on an internet-facing box. Set 'PasswordAuthentication no' in sshd_config and use key-based auth.
2026-11-26 18:57:17,750 WARNING hermes_cli.gateway_multiplex_mode: This gateway stays standalone: this profile is standalone (gateway.standalone: true); it serves only itself. It serves only the launching profile.
2026-11-26 18:57:19,571 WARNING hermes_plugins.platforms__telegram.adapter: [Telegram] Discovering Telegram API fallback IPs via DNS-over-HTTPS…
2026-11-26 18:57:20,187 WARNING tools.delegate_tool: delegation.max_concurrent_children=40: each child consumes API tokens independently. High values multiply cost linearly.
2026-11-26 18:57:20,262 WARNING hermes_plugins.platforms__telegram.adapter: [Telegram] Connecting to Telegram (attempt 1/8)…
2026-11-26 18:57:30,645 WARNING hermes_plugins.platforms__telegram.adapter: [Telegram] Connected to Telegram (polling mode)
2026-11-26 18:59:26,597 ERROR agent.chat_completion_helpers: Streaming failed before delivery: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'API key is invalid, expired, or revoked.', 'type': 'auth_error', 'param': None, 'request_id': 'c7214205-3fa0-4921-838b-f22f91e474b2', 'doc_url': None}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.AuthenticationError: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'API key is invalid, expired, or revoked.', 'type': 'auth_error', 'param': None, 'request_id': 'c7214205-3fa0-4921-838b-f22f91e474b2', 'doc_url': None}}
2026-11-26 18:59:26,757 WARNING [20261118_131447_23b78fd2] agent.conversation_loop: API call failed (attempt 1/3, not retryable) error_type=AuthenticationError thread=hermes-gateway_1:124130791782080 provider=custom base_url=https://api.abliteration.ai/v1 model=abliterated-model-large-v2 summary=HTTP 401: API key is invalid, expired, or revoked.
2026-11-26 18:59:29,551 ERROR [20261118_131447_23b78fd2] agent.conversation_loop: Non-retryable client error: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'API key is invalid, expired, or revoked.', 'type': 'auth_error', 'param': None, 'request_id': 'c7214205-3fa0-4921-838b-f22f91e474b2', 'doc_url': None}}
2026-11-26 19:02:42,026 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes supervisor=systemd parent_pid=41435 parent_name=systemd loadavg_1m=0.15
2026-11-26 19:02:46,958 WARNING hermes_cli.gateway_multiplex_mode: This gateway stays standalone: this profile is standalone (gateway.standalone: true); it serves only itself. It serves only the launching profile.
2026-11-26 19:02:47,243 WARNING hermes.security_audit: Security posture audit found 1 issue(s) — review your deployment:
2026-11-26 19:02:47,243 WARNING hermes.security_audit:   [security 1/1] SSH password authentication is ENABLED (default — no explicit directive). Password auth is brute-forceable and dangerous on an internet-facing box. Set 'PasswordAuthentication no' in sshd_config and use key-based auth.
2026-11-26 19:02:47,886 WARNING hermes_cli.gateway_multiplex_mode: This gateway stays standalone: this profile is standalone (gateway.standalone: true); it serves only itself. It serves only the launching profile.
2026-11-26 19:02:49,765 WARNING hermes_plugins.platforms__telegram.adapter: [Telegram] Discovering Telegram API fallback IPs via DNS-over-HTTPS…
2026-11-26 19:02:50,329 WARNING tools.delegate_tool: delegation.max_concurrent_children=40: each child consumes API tokens independently. High values multiply cost linearly.
2026-11-26 19:02:50,409 WARNING hermes_plugins.platforms__telegram.adapter: [Telegram] Connecting to Telegram (attempt 1/8)…
2026-11-26 19:03:00,817 WARNING hermes_plugins.platforms__telegram.adapter: [Telegram] Connected to Telegram (polling mode)
2026-11-26 19:08:48,236 WARNING [20261118_131447_23b78fd2] agent.tool_executor: Tool terminal returned error (108.08s): {"output": "=== /api (301->?) ===\n000 -> \n=== /api2 (301->?) ===\n000 -> \n=== SecCode.php Inhalt ===\n=== SQLi-Sonde Suchfunktion ===\nsingle-quote: 000 (0B)\ntime-based-Sonde: 000\n=== Error-Leak 
2026-11-26 19:09:39,689 WARNING [20261118_131447_23b78fd2] agent.tool_executor: Tool terminal returned error (48.32s): {"output": "root: 000 (20.002483s)\nroot2: 000 (20.002467s)", "exit_code": 28, "error": null}
2026-11-26 19:10:27,049 WARNING [local-2bcf4bb9dc13927d2bf964266d085b21b4069104a81eb5895dbb6d8ba88ec12e] agent.tool_executor: Tool terminal returned error (120.21s): {"output": "HTTP 000 size 0", "exit_code": 1, "error": null}
2026-11-26 19:10:30,830 WARNING [20261118_131447_23b78fd2] agent.tool_executor: Tool terminal returned error (0.45s): {"output": "Ziel: root@None\nWarning: Identity file /home/marcel7364/.ssh/id_rsa not accessible: No such file or directory.\nssh: Could not resolve hostname none: Temporary failure in name resolution"
2026-11-26 19:10:42,853 WARNING [20261118_131447_23b78fd2] agent.tool_executor: Tool terminal returned error (0.98s): {"output": "Warning: Permanently added '88.198.100.118' (ED25519) to the list of known hosts.\r\nPermission denied, please try again.\r\nPermission denied, please try again.\r\nroot@88.198.100.118: Pe
2026-11-26 19:10:49,033 WARNING [20261118_131447_23b78fd2] agent.tool_executor: Tool terminal returned error (3.47s): {"output": "/usr/bin/sshpass\nPermission denied, please try again.", "exit_code": 5, "error": null, "hint": "Permission denied. Check ownership/mode of the target path (`ls -la`); prefer a user-writab
2026-11-26 19:12:26,020 WARNING [20261118_131447_23b78fd2] agent.tool_executor: Tool skill_manage returned error (0.00s): {"error": "operations[0] needs an 'action'.", "success": false}
2026-11-26 19:13:32,802 WARNING [local-2bcf4bb9dc13927d2bf964266d085b21b4069104a81eb5895dbb6d8ba88ec12e] agent.tool_executor: Tool terminal returned error (180.38s): {"output": "=== probe more admin paths ===\n  /panel 000\n  /giris 000\n  /login 000\n\n[Command timed out after 180s]", "exit_code": 124, "error": null, "hint": "Exit 124: the command hit its timeout
2026-11-26 19:13:59,343 WARNING [20261118_131447_23b78fd2] agent.tool_executor: Tool skill_manage returned error (1.44s): {"success": false, "error": "operations[1] (patch on 'galaktikus-platform') failed: Could not find a match for old_string in the file\n\nDid you mean one of these sections?\n 161| - **Web-Chat-Seite (
2026-11-26 19:14:03,031 WARNING agent.message_sanitization: Repaired malformed tool_call arguments for ?: [{"new_string": "beide Domains, Logo und Gast-API; Auto-Heilung aus backups/mini → [{"new_string": "beide Domains, Logo und Gast-API; Auto-Heilung aus backups/mini
2026-11-26 19:15:57,925 WARNING [local-2bcf4bb9dc13927d2bf964266d085b21b4069104a81eb5895dbb6d8ba88ec12e] agent.tool_executor: Tool terminal returned error (9.32s): {"output": "Success\nSuccess\nSuccess\nStatus update: Connecting\nReason: Validating SOCKS proxy configuration\nvia warp: 000", "exit_code": 97, "error": null}
2026-11-26 19:17:15,722 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:17:15,750 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:17:15,889 WARNING [20261118_131447_23b78fd2] agent.tool_executor: Tool terminal returned error (15.27s): {"output": "root: 000 (15.002682s)", "exit_code": 28, "error": null, "exit_code_meaning": "Operation timed out"}
2026-11-26 19:17:47,485 ERROR [20261126_191746_02f5ea] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'Requested model was not found.', 'type': 'not_found_error', 'param': 'model', 'request_id': '9043a8c0-1f3e-48da-94d4-235241786230', 'doc_url': None}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'Requested model was not found.', 'type': 'not_found_error', 'param': 'model', 'request_id': '9043a8c0-1f3e-48da-94d4-235241786230', 'doc_url': None}}
2026-11-26 19:17:47,653 ERROR [20261126_191746_6d9460] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'Requested model was not found.', 'type': 'not_found_error', 'param': 'model', 'request_id': '3e939077-428b-4161-87df-93483e032899', 'doc_url': None}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'Requested model was not found.', 'type': 'not_found_error', 'param': 'model', 'request_id': '3e939077-428b-4161-87df-93483e032899', 'doc_url': None}}
2026-11-26 19:17:47,624 WARNING [20261126_191746_02f5ea] agent.conversation_loop: API call failed (attempt 1/3, not retryable) error_type=NotFoundError thread=ThreadPoolExecutor-59_0:132881008404160 provider=custom base_url=https://api.abliteration.ai/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 404: Requested model was not found.
2026-11-26 19:17:47,715 WARNING [20261126_191746_6d9460] agent.conversation_loop: API call failed (attempt 1/3, not retryable) error_type=NotFoundError thread=ThreadPoolExecutor-60_0:132880834258624 provider=custom base_url=https://api.abliteration.ai/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 404: Requested model was not found.
2026-11-26 19:17:49,088 ERROR [20261126_191746_02f5ea] agent.conversation_loop: [subagent-0] Non-retryable client error: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'Requested model was not found.', 'type': 'not_found_error', 'param': 'model', 'request_id': '9043a8c0-1f3e-48da-94d4-235241786230', 'doc_url': None}}
2026-11-26 19:17:49,095 ERROR [20261126_191746_6d9460] agent.conversation_loop: [subagent-1] Non-retryable client error: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'Requested model was not found.', 'type': 'not_found_error', 'param': 'model', 'request_id': '3e939077-428b-4161-87df-93483e032899', 'doc_url': None}}
2026-11-26 19:17:49,546 ERROR [20261126_191746_02f5ea] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'Requested model was not found.', 'type': 'not_found_error', 'param': 'model', 'request_id': '8df67a67-5da4-4b0a-99c9-545fc2c6e0e2', 'doc_url': None}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'Requested model was not found.', 'type': 'not_found_error', 'param': 'model', 'request_id': '8df67a67-5da4-4b0a-99c9-545fc2c6e0e2', 'doc_url': None}}
2026-11-26 19:17:49,614 WARNING [20261126_191746_02f5ea] agent.conversation_loop: API call failed (attempt 1/3, not retryable) error_type=NotFoundError thread=ThreadPoolExecutor-58_0:132880865732288 provider=custom base_url=https://api.abliteration.ai/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 404: Requested model was not found.
2026-11-26 19:17:50,109 ERROR [20261126_191746_6d9460] agent.chat_completion_helpers: Streaming failed before delivery: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'Requested model was not found.', 'type': 'not_found_error', 'param': 'model', 'request_id': '0a3baeee-3e99-40f7-89bc-2523d3614db0', 'doc_url': None}}
Traceback (most recent call last):
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3671, in _call
    self.result["response"] = _with_stream_emitters(
                              ~~~~~~~~~~~~~~~~~~~~~^
        self.agent, lambda: self._call_wire(stream_attempt_id))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2432, in _with_stream_emitters
    response = run()
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3672, in <lambda>
    self.agent, lambda: self._call_wire(stream_attempt_id))
                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3649, in _call_wire
    return self._call_chat_completions(stream_attempt_id)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 3006, in _call_chat_completions
    stream = self._set_managed_stream(relay_llm.stream(self.api_kwargs, _open_stream,
                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        **_relay_stream_identity(self.agent, "provider"), finalizer=relay_response.finalize,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        completed_response_predicate=lambda value: hasattr(value, "choices"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        metadata=_relay_stream_metadata(self.agent, "chat_completions"), defer_logical_completion=True))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 331, in __init__
    self._start_unmanaged(request)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/relay_llm.py", line 337, in _start_unmanaged
    raw_stream = self._stream_factory(request)
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2997, in _open_stream
    return self._open_chat_stream({**next_api_kwargs, "stream": True, "timeout": timeout})
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/hermes-agent/agent/chat_completion_helpers.py", line 2890, in _open_chat_stream
    return request_client.chat.completions.create(**stream_kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_utils/_utils.py", line 298, in wrapper
    return func(*args, **kwargs)
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/resources/chat/completions/completions.py", line 1296, in create
    return self._post(
           ~~~~~~~~~~^
        "/chat/completions",
        ^^^^^^^^^^^^^^^^^^^^
    ...<53 lines>...
        stream_cls=Stream[ChatCompletionChunk],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1375, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcel7364/.hermes/installs/78b749a4c623c44d/environments/ca264128702742fa98219b3f19dc4512/venv/lib/python3.14/site-packages/openai/_base_client.py", line 1148, in request
    raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'Requested model was not found.', 'type': 'not_found_error', 'param': 'model', 'request_id': '0a3baeee-3e99-40f7-89bc-2523d3614db0', 'doc_url': None}}
2026-11-26 19:17:50,165 WARNING [20261126_191746_6d9460] agent.conversation_loop: API call failed (attempt 1/3, not retryable) error_type=NotFoundError thread=ThreadPoolExecutor-58_1:132880981128896 provider=custom base_url=https://api.abliteration.ai/v1 model=z-ai/glm-5.3-uncensored summary=HTTP 404: Requested model was not found.
2026-11-26 19:17:50,244 ERROR [20261126_191746_02f5ea] agent.conversation_loop: [subagent-0] Non-retryable client error: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'Requested model was not found.', 'type': 'not_found_error', 'param': 'model', 'request_id': '8df67a67-5da4-4b0a-99c9-545fc2c6e0e2', 'doc_url': None}}
2026-11-26 19:17:50,848 ERROR [20261126_191746_6d9460] agent.conversation_loop: [subagent-1] Non-retryable client error: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'Requested model was not found.', 'type': 'not_found_error', 'param': 'model', 'request_id': '0a3baeee-3e99-40f7-89bc-2523d3614db0', 'doc_url': None}}
2026-11-26 19:17:58,426 WARNING [local-2bcf4bb9dc13927d2bf964266d085b21b4069104a81eb5895dbb6d8ba88ec12e] agent.tool_executor: Tool terminal returned error (0.33s): {"output": "Traceback (most recent call last):\n  File \"<string>\", line 3, in <module>\n    d=json.load(sys.stdin)\n  File \"/home/marcel7364/.hermes/tools/python-3.14.9+20261021-linux-x64/lib/pytho
2026-11-26 19:18:05,969 WARNING [20261118_131447_23b78fd2] agent.tool_executor: Tool execute_code returned error (0.13s): {"status": "error", "output": "\n--- stderr ---\nTraceback (most recent call last):\n  File \"/home/marcel7364/.hermes/profiles/galaktikus/cache/scratch/hermes_kernel_o0ltqxo5/hermes_kernel_runner.py\
2026-11-26 19:18:06,178 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:18:06,219 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:18:12,162 WARNING [20261118_131447_23b78fd2] agent.tool_executor: Tool terminal returned error (0.17s): {"output": "Failed to start ip-rotation.service: Unit ip-rotation.service not found.", "exit_code": 5, "error": null}
2026-11-26 19:19:25,468 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:19:32,148 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:19:32,171 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:20:21,375 WARNING agent.message_sanitization: Unrepairable tool_call arguments for ? — replaced with empty object (was: import subprocess, json\n\nACC = json.load(open('/home/marcel7364/.secrets/dataimpulse_proxy.json'))\nGW = ACC['gateway']; LOGIN = ACC['proxy_login']; PW=*** px(): return f\"http://***:***@{GW}\"\ndef get(url, extra=None, timeout=25, out='/tmp/bh_i'):\n    cmd = ['curl','-s','-x',px(),'-o',out,'-w','%{http_code}|%{redirect_url}','--max-time',str(timeout),'-A','Mozilla/5.0 (iPhone) Safari/604.1',url]+(extra or [])\n    r = subprocess.run(cmd, capture_output=True, text=True, timeout=timeout+15)\n    try: b = open(out,'rb').read()\n    except: b = b''\n    return r.stdout.strip(), b\n\n# 1) mail.brandhills.com — was antwortet da?\nst, b = get('https://mail.brandhills.com/')\nprint('https://mail/:', st, b[:100])\nst, b = get('http://mail.brandhills.com/')\nprint('http://mail/:', st, b[:80])\n\n# 2) Header-Vergleich / vs /arama vs /llms.txt\nfor p in ['/', '/arama?q=brand', '/llms.txt']:\n    r = subprocess.run(['curl','-s','-x',px(),'-D','-','-o','/dev/null','--max-time','20','-A','Mozilla/5.0','https://www.brandhills.com'+p], capture_output=True, text=True, timeout=35)\n    hdrs = r.stdout\n    interesting = [l.strip() for l in hdrs.split('\\n') if any(k in l.lower() for k in ['content-security','strict-transport','x-content-type','referrer-policy','x-frame','permissions-policy','x-xss'])]\n    print(p, '->', '; '.join(interesting) if interesting else '(keine Sicherheits-Header!)')\n\n# 3) Sitemap auf Admin-URLs\nst, b = get('https://www.brandhills.com/sitemap.xml', out='/tmp/bh_sm')\nsm = b.decode('utf-8', errors='ignore')\nimport re\nadminish = [u for u in re.findall(r'<loc>([^<]*)</loc>', sm) if re.search(r'admin|yonetim|panel|api|login|giris', u, re.I)]\nprint('sitemap URLs:', len(re.findall(r'<loc>', sm)), '| Admin-URLs darin:', adminish[:5] if adminish else 'keine')\n"})
2026-11-26 19:20:46,169 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:20:52,263 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:21:14,365 WARNING [local-2bcf4bb9dc13927d2bf964266d085b21b4069104a81eb5895dbb6d8ba88ec12e] agent.tool_executor: Tool terminal returned error (5.32s): {"output": "HTTP 000 size 0 final https://brandhills.com.tr/", "exit_code": 1, "error": null}
2026-11-26 19:21:58,779 WARNING [20261118_131447_23b78fd2] agent.tool_executor: Tool memory returned error (0.01s): {"success": false, "error": "Operation 1 (patch): content is required — set this operation object's own 'content' to the new text for the old_text span. To drop text inside an entry, patch a longer sp
2026-11-26 19:22:58,631 WARNING [local-2bcf4bb9dc13927d2bf964266d085b21b4069104a81eb5895dbb6d8ba88ec12e] agent.tool_executor: Tool terminal returned error (0.13s): {"output": "ls: invalid option -- '9'\nTry 'ls --help' for more information.\nls: invalid option -- '9'\nTry 'ls --help' for more information.\n0\n--- find chunk with login api call ---", "exit_code":
2026-11-26 19:23:24,452 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:23:24,538 WARNING tools.url_safety: Blocked request — DNS resolution failed for: www.tobi.net.tr
2026-11-26 19:23:25,249 WARNING [local-2bcf4bb9dc13927d2bf964266d085b21b4069104a81eb5895dbb6d8ba88ec12e] agent.tool_executor: Tool web_extract returned error (0.17s): {   "results": [     {       "url": "https://www.tobi.net.tr/arama?q=HILLSCOMPANY",       "title": "",       "content": "",       "error": "Blocked: URL targets a private or internal network address" 
2026-11-26 19:23:35,691 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:23:35,719 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:24:05,140 WARNING [local-2bcf4bb9dc13927d2bf964266d085b21b4069104a81eb5895dbb6d8ba88ec12e] agent.tool_executor: Tool search_files returned error (0.35s): {"total_count": 0, "error": "Path not found: /home/marcel7364/investoren-daten"}
2026-11-26 19:24:32,200 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:24:32,226 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:26:21,629 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:26:21,657 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:26:43,947 WARNING [local-2bcf4bb9dc13927d2bf964266d085b21b4069104a81eb5895dbb6d8ba88ec12e] agent.tool_executor: Tool terminal returned error (0.02s): {"output": "", "exit_code": -1, "error": "Foreground command uses '&' backgrounding. Re-send WITHOUT the '&' as terminal(command=\"<cmd>\", background=true) — add notify_on_complete=true for bounded j
2026-11-26 19:30:05,473 WARNING tools.web_tools: web_search backend 'ddgs' failed (ddgs package is not installed — run `pip install ddgs`); one-shot keyless rescue
2026-11-26 19:31:25,311 WARNING [local-2bcf4bb9dc13927d2bf964266d085b21b4069104a81eb5895dbb6d8ba88ec12e] agent.tool_executor: Tool terminal returned error (60.20s): {"output": "[Command timed out after 60s]", "exit_code": 124, "error": null, "hint": "Exit 124: the command hit its timeout. Raise timeout= (foreground max 600s) or run it with background=true and not
2026-11-26 19:33:51,704 WARNING gateway.platforms.base: [Local] send_document fallback: native file send unavailable for /home/marcel7364/brandhills-recon/BERICHT.md
