mirror of
https://mirror.skon.top/github.com/code-yeongyu/oh-my-opencode
synced 2026-04-20 23:50:14 +08:00
docs: update for v3.16.0 release
- Update AGENTS.md header with current date and commit - Update runtime-fallback test to reflect quota STOP classification - Release notes drafted in .sisyphus/drafts/release-notes-v3.16.0.md
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# oh-my-opencode — O P E N C O D E Plugin
|
||||
|
||||
**Generated:** 2026-04-05 | **Commit:** c9be5bb51 | **Branch:** dev
|
||||
**Generated:** 2026-04-08 | **Commit:** 4f196f49 | **Branch:** dev
|
||||
|
||||
## OVERVIEW
|
||||
|
||||
|
||||
@@ -282,7 +282,7 @@ describe("runtime-fallback", () => {
|
||||
expect(errorLog).toBeDefined()
|
||||
})
|
||||
|
||||
test("should trigger fallback when session.error says you've reached your usage limit", async () => {
|
||||
test("should NOT trigger fallback for quota exhaustion without auto-retry signal (STOP classification)", async () => {
|
||||
const hook = createRuntimeFallbackHook(createMockPluginInput(), {
|
||||
config: createMockConfig({ notify_on_fallback: false }),
|
||||
pluginConfig: createMockPluginConfigWithCategoryFallback(["zai-coding-plan/glm-5.1"]),
|
||||
@@ -308,11 +308,10 @@ describe("runtime-fallback", () => {
|
||||
})
|
||||
|
||||
const fallbackLog = logCalls.find((c) => c.msg.includes("Preparing fallback"))
|
||||
expect(fallbackLog).toBeDefined()
|
||||
expect(fallbackLog?.data).toMatchObject({ from: "kimi-for-coding/k2p5", to: "zai-coding-plan/glm-5.1" })
|
||||
expect(fallbackLog).toBeUndefined()
|
||||
|
||||
const skipLog = logCalls.find((c) => c.msg.includes("Error not retryable"))
|
||||
expect(skipLog).toBeUndefined()
|
||||
expect(skipLog).toBeDefined()
|
||||
})
|
||||
|
||||
test("should continue fallback chain when fallback model is not found", async () => {
|
||||
|
||||
Reference in New Issue
Block a user