mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
fix(release): align Codex discovery and Telegram traces
This commit is contained in:
@@ -83,7 +83,7 @@ function classifyOpenAiFailoverCode(code: string | undefined) {
|
||||
const OPENAI_MODELS_ENDPOINT = "https://api.openai.com/v1/models";
|
||||
// Keep synchronized with extensions/codex's exact @openai/codex dependency;
|
||||
// the provider contract test fails when that managed-runtime pin changes.
|
||||
const OPENAI_CODEX_CLIENT_VERSION = "0.144.4";
|
||||
const OPENAI_CODEX_CLIENT_VERSION = "0.144.5";
|
||||
const OPENAI_CODEX_MODELS_ENDPOINT = `${OPENAI_CODEX_RESPONSES_BASE_URL}/models?client_version=${OPENAI_CODEX_CLIENT_VERSION}`;
|
||||
const OPENAI_MODELS_CACHE_TTL_MS = 60_000;
|
||||
const OPENAI_CODEX_MODELS_CACHE_TTL_MS = 60_000;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2108,7 +2108,7 @@ describe("deliverReplies", () => {
|
||||
await promptContextSequence.fail();
|
||||
|
||||
expect(observer).toHaveBeenCalledTimes(1);
|
||||
expect(observer).toHaveBeenCalledWith({ messageId: 301, text: "chunk-one\n" });
|
||||
expect(observer).toHaveBeenCalledWith({ messageId: 301, text: "chunk-one\n\n" });
|
||||
});
|
||||
|
||||
it("records the concrete Telegram media message", async () => {
|
||||
|
||||
Reference in New Issue
Block a user