404-Fehler bei Modellen mit Doppelpunkten im Namen bei Verwendung von OpenRouter
What version of Codex is running?
aktuellste von notepackagemanager verfügbare Version stand 21-05-2025
Which model were you using?
ist egal openrouter wird genutzt
What platform is your computer?
archlinux
What steps can reproduce the bug?
Problem:
Wenn ich Codex mit OpenRouter verwende, funktionieren Modelle mit Doppelpunkten (z.B. anbieter:model) beim Start, aber beim Chatten tritt ein 404-Fehler auf. Modelle ohne Doppelpunkt funktionieren problemlos.
Vermutung:
Der Modellname wird vermutlich als Teil der URL übergeben, und der Doppelpunkt verursacht einen Syntaxfehler oder ungültigen Pfad.
Frage:
Gibt es einen Workaround oder ist eine Anpassung in Codex nötig, damit auch Modellnamen mit Doppelpunkten unterstützt werden?
System:
- Arch Linux
- Codex-Version: [deine Version]
- OpenRouter API
Problem:
When I use Codex with OpenRouter, models with colons in their names (e.g. provider:model) can be started, but when chatting, a 404 error occurs. Models without a colon work without any issues.
Suspected cause:
The model name is likely passed as part of the URL, and the colon causes a syntax error or an invalid path, resulting in a 404 error.
Question:
Is there a workaround, or does Codex need to be updated to support model names containing colons?
System:
Arch Linux
Codex version: [your version]
OpenRouter API
What is the expected behavior?
_No response_
What do you see instead?
_No response_
Additional information
_No response_
4 Comments
Vermutung: Das Programm Codex müsste angepasst werden, sodass der Modellname garantiert immer als String im JSON-Body übergeben und nicht als Teil der URL verwendet wird. Wahrscheinlich werden keine Anführungsstriche gesetzt oder der Modellname wird falsch eingebettet. Das Problem kann nur durch einen Fix im Codex-Quellcode gelöst werden, nicht durch Konfiguration oder Workarounds auf Nutzerseite
Suspected cause:
The Codex program likely needs to be modified so that the model name is always passed as a string in the JSON body and not as part of the URL. It is likely that quotation marks are not being set, or the model name is being embedded incorrectly. This problem can only be resolved by a fix in the Codex source code, not through configuration or user-side workarounds.
Sehr geehrte Damen und Herren!
Ich kann diesen Post aus diversen Gründen nicht löschen. Bitten
kontaktieren Sie Github und bitten Sie dort um SOFORTIGE Hilfe und weitere
Anweisungen. Ich bin NICHT der alleinige Urheber des Posts und bediene
daher weiterhin hauptsächlich die Pflichten nach DSGVO Konformität und
Urheberrecht. Ort: innerhalb der gültigen und damit existenten, lokalen
Landesgrenzen, Rechtszonen, Rechtskreise, Rechtssysteme. Die förmlich zu
erfüllenden Pflichten, durch mich selbst in erster Linie erfüllt und
bedingt, gelten auch anteilig für Sie in Ihren lokalen Zonen beheimatet und
durch Recht und Gesetz vertreten!
SCHORDT BENJAMIN JAN
Am Sa., 21. Juni 2025 um 06:37 Uhr schrieb lala4me8800 <
@.***>:
*Subject: Notification of Non-Liability and Requested Action Regarding
Posted Content *
Dear Sir or Madam,
I am unable to remove this post for a variety of legal and procedural
reasons. Please contact GitHub directly and request IMMEDIATE assistance
and further instructions.
I am NOT the sole author of the content in question, and therefore remain
primarily bound by obligations under GDPR-compliant practices and
applicable copyright law. The location of reference is within the valid and
currently effective territorial borders, legal jurisdictions, and legal
systems.
The formal duties and responsibilities that I have fulfilled — both
directly and conditionally — also apply, in part, to you within your
respective local jurisdictions, as represented by the laws and statutes
governing those zones.
Yours faithfully,
Benjamin Jan Schordt
Am So., 22. Juni 2025 um 17:41 Uhr schrieb Benjamin Schordt <
@.***>:
Am So., 22. Juni 2025 um 17:44 Uhr schrieb Benjamin Schordt <
@.***>: