docs(think-mode): document getHighVariant deprecation
Add deprecation notice explaining that getHighVariant() is no longer used by the hook. Function is kept for backward compatibility and potential future validation use. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -4,6 +4,20 @@ import {
|
||||
isAlreadyHighVariant,
|
||||
} from "./switcher"
|
||||
|
||||
/**
|
||||
* DEPRECATION NOTICE:
|
||||
*
|
||||
* getHighVariant() is no longer used by the think-mode hook.
|
||||
* The hook now only sets output.message.variant = "high" and lets
|
||||
* OpenCode's native variant system handle the transformation.
|
||||
*
|
||||
* This function is kept for:
|
||||
* - Potential future validation use
|
||||
* - Backward compatibility for external consumers
|
||||
*
|
||||
* Tests verify the function still works correctly.
|
||||
*/
|
||||
|
||||
describe("think-mode switcher", () => {
|
||||
describe("Model ID normalization", () => {
|
||||
describe("getHighVariant with dots vs hyphens", () => {
|
||||
|
||||
Reference in New Issue
Block a user