Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: keep the OpenCode rejection descriptor module-private (#11797)

Adam Eivybfe36702a260
diff --git a/server/lib/tuiHandshake.js b/server/lib/tuiHandshake.js
index 0c3a864da1..4ad1866f39 100644
--- a/server/lib/tuiHandshake.js
+++ b/server/lib/tuiHandshake.js
@@ -479,7 +479,7 @@ const BOX_AND_BLOCK_GLYPHS = /[\s\u2500-\u259F]+/g;
* a request-specific category, so the cooldown policy leaves the provider's
* other models available (see isRequestSpecificCategory).
*/
-export function describeOpencodeModelRejection(rejectedModel) {
+function describeOpencodeModelRejection(rejectedModel) {
return {
category: ERROR_CATEGORIES.MODEL_NOT_FOUND,
actionable: true,