=== Checking opencode documentation ===
## Installation

### Using the Install Script

```bash
# Install the latest version
curl -fsSL https://raw.githubusercontent.com/opencode-ai/opencode/refs/heads/main/install | bash

# Install a specific version
curl -fsSL https://raw.githubusercontent.com/opencode-ai/opencode/refs/heads/main/install | VERSION=0.1.0 bash
```

### Using Homebrew (macOS and Linux)

```bash
brew install opencode-ai/tap/opencode
```

### Using AUR (Arch Linux)

```bash
# Using yay
yay -S opencode-ai-bin

# Using paru
paru -S opencode-ai-bin
```

### Using Go

```bash
go install github.com/opencode-ai/opencode@latest
```

## Configuration

OpenCode looks for configuration in the following locations:

- `$HOME/.opencode.json`
- `$XDG_CONFIG_HOME/opencode/.opencode.json`
- `./.opencode.json` (local directory)

### Auto Compact Feature

OpenCode includes an auto compact feature that automatically summarizes your conversation when it approaches the model's context window limit. When enabled (default setting), this feature:

- Monitors token usage during your conversation
- Automatically triggers summarization when usage reaches 95% of the model's context window
- Creates a new session with the summary, allowing you to continue your work without losing context
- Helps prevent "out of context" errors that can occur with long conversations

=== Checking if there's a config schema in the binary ===
MSI_ENDPOINTaudio/speechthreads/runsimages/editsfiles/{file}turnCoveragetargetTokensspeechConfigturnCompletetoolResponsefunctionCallgoogleSearchlanguageCodeautoTruncateoutputGcsUriaddWatermarkinstances[0]maskDilationfinishReasonmodelVersionencodedVideo{models_url}resourceName/operations/tunedModels/FunctionCallword forward127.0.0.1:53no such hostunknown portCIDR addressinvalid port{{continue}}block clauseLittleEndian#ansidarkred#ansifuchsia%02x%02x%02xusingbygroupIN_MOVE_SELFclose notifyremote errorc hs traffics hs trafficc ap traffics ap traffic PRIVATE KEYMime-VersionX-ImforwardsX-Powered-ByMax-Forwards (sensitive)stream startdocument endsequence endtail commentnot a number' in struct caller errorautocompletego_localtimego_file_sizego_shm_unmap(^|\s+)#.*\nadjust-arrayalpha-char-papropos-listassoc-if-notbit-vector-pchange-classclear-outputcompile-filecount-if-notdecode-floatdigit-char-pfill-pointerfind-packagefind-restartfloat-digitsforce-outputhash-table-pintersectionlower-case-pmachine-typemake-packagepackage-nameprint-objectrestart-nameslot-missingslot-unboundstring-equalstring-lesspsubst-if-notsymbol-plistsymbol-valueupper-case-pwrite-stringdefparameterhandler-bindhandler-caserestart-bindrestart-case&environmentsingle-floatdouble-floatsimple-arrayreader-errorsimple-errorstream-errorunbound-slotrandom-statecl-defstructcl-etypecasecl-eval-whendefvar-localdont-compilelexical-let*oref-defaultoset-defaultpcase-dolistwith-timeoutsetq-defaultassoc-stringcall-processcase-table-pchar-charsetchar-table-pclear-stringcolor-gray-pcurrent-timedelete-fielddelete-framedo-auto-saveerase-bufferfield-stringfont-match-pfontset-fontfontset-infofontset-listforward-charforward-lineforward-wordframe-live-pgap-positionimage-mask-pkill-processload-averagelookup-imagemake-overlaymemory-limitmove-overlaymsdos-memgetmsdos-memputother-bufferplist-memberpoint-markerprocess-listprocess-markprocess-nameprocess-typequit-processread-commandredraw-frameregexp-quotescroll-rightselect-frameset-file-aclstop-processstring-bytesstring-matchstring-widthsyntax-tablesystem-userswidget-applywindow-edgeswindow-framewindow-pointwindow-startwrite-regionx-list-fontsx-popup-menutext/x-gosrctext/x-perl6subdirectivenested_block\{[^\}\s]*\b^\s*(\{)\s*$attr-dstringattr-sstring(?:import)\bimport-identpreproc-exprtypedef-bodybracket-openclass-memberclass-method(function)\bprop-get-set(?:switch)\b(?:return)\barray-access^(#[^#].+\n)(?<!['\w:-])(?<=^|\b|\s)CancellationDistributionIO::ArgFilesPod::HeadingWhateverCodeexperimentalaccepts_typeadd_fallbackapp_lifetimeatomic-fetchcombinationscomposalizercompose_typeday-of-monthdid-you-meandistributiondone-testingeval-dies-okexcludes-maxexcludes-minfull-barrierhas_accessorpostcirumfixis-leap-yearload-repo-idmethod_tablenativesizeofpackage-kindpermutationspush-exactlyread-uint128redispatcherreplace-withroutine-typeset_is_mixinsubst-mutatetotal-memorytrim-leadingtruncated-towhole-secondwrite-int128write-uint16write-uint32write-uint64metaoperatorsubstitutionsingle-quote[<>,:=.*%+|][{}()\[\]\\][\w"\-!/&;]+[^a-zA-Z0-9]CircleMinus;CircleTimes;Equilibrium;GreaterLess;LeftCeiling;LessGreater;MediumSpace;NotPrecedes;NotSucceeds;OverBracket;RightVector;Rrightarrow;RuleDelayed;SmallCircle;SquareUnion;SubsetEqual;UpDownArrow;Updownarrow;VerticalBar;backepsilon;blacksquare;circledcirc;circleddash;curlyeqprec;curlyeqsucc;diamondsuit;eqslantless;expectation;nRightarrow;nrightarrow;preccurlyeq;precnapprox;quaternions;straightphi;succcurlyeq;succnapprox;thickapprox;updownarrow;NotLessLess;NotSuperset;altglyphitemanimatecolorfemorphologyfepointlightfeturbulencealtGlyphItemanimateColorfeMorphologyfePointLightfeTurbulencekernelmatrixlengthadjustmarkerheightpatternunitsspreadmethodstddeviationsurfacescalekernelMatrixlengthAdjustmarkerHeightpatternUnitsspreadMethodstdDeviationsurfaceScalemessage_stopcross-regionheader valueAWS_ROLE_ARNendpoint_urlsso-session max_attemptsaz.namespace[%s] %s: %s
 %qHalfClosedLocalapplication/pdfapplication/oggfont/collectionapplication/zipnegative updateaccept-encodingaccept-languagex-forwarded-forhttp2xconnect=1trailers_pseudobad_path_methodAccept-Encodingrecv_rststream_Idempotency-KeyPartial ContentRequest TimeoutLength RequiredNot ImplementedGateway Timeoutunexpected typebad trailer keywrite error: %wJan _2 15:04:05sqlite3_errcodesqlite3_open_v2sqlite3_db_namego_busy_timeoutgo_busy_handlergo_vtab_connectgo_vtab_destroygo_vtab_releaseunixepoch_milliunixepoch_microGIT_EDITOR=trueopencode-cwd-%dInvalid Context*** End of File*** Begin Patchserver_tool_usemcp_tool_result:exception-typeMicrosoft.EntraAZURE_CLIENT_IDAZURE_TENANT_IDIDENTITY_HEADERresourceManagerthreads/%s/runschat.completionBackendVertexAIprefixPaddingMsmaxOutputTokensmediaResolutiontotalTokenCountincludeThoughtspresencePenaltydurationSecondsmaskImageConfigreferenceImagescitationSourcesgeneratedImagesinputTokenLimitgeneratedVideosdeployedModelId{model}:predict{operationName}publisherModelsopJmpIfNotEmptyopJmpIfNotFirstFiles & Foldersmissing addressunknown networkunclosed actionno dot in fieldtemplate clausebad IHDR lengthbad PLTE lengthbad tRNS lengthbad filter typebad IEND lengthno "root" staterecord overflowbad certificatePKCS1WithSHA256PKCS1WithSHA384PKCS1WithSHA512ClientAuthType(unknown versionclient finishedserver finished#multipartfilesAccept-LanguageX-Forwarded-For/etc/mime.types()<>@,;:\"/[]?=impossible date(?i)<(/?)scriptcontenteditablehtml/template: reference-typessqlite3_uri_keygo_file_controlLiberation Monoarray-dimensioncell-error-namedescribe-objectfile-namestringfile-write-datefloat-precisionhash-table-sizehash-table-testhost-namestringinvoke-debuggermachine-versionmake-hash-tablemerge-pathnamesnset-differenceoutput-stream-ppathname-deviceposition-if-notpprint-dispatchprin1-to-stringprinc-to-stringshort-site-namesimple-string-psimple-vector-pslot-makunboundstandard-char-pstring-downcasestring-greaterpsymbol-functionwild-pathname-pwrite-to-stringload-time-valuesymbol-macroletstandard-methodstandard-objectstructure-classdef-edebug-specdefine-skeletonsave-match-datawith-case-tablewith-file-modeswith-local-quitall-completionsbacktrace-debugbacktrace-framebool-vector-notcapitalize-wordcoding-system-pcompare-stringscompleting-readcopy-hash-tablecurrent-messagedefine-categorydelete-terminaldescribe-vectordirectory-filesdowncase-regionfield-beginningfile-attributesfile-readable-pfile-writable-pfont-get-glyphsforward-commentframe-parameterframe-text-colsframe-visible-pgarbage-collectget-file-buffergetenv-internalgfile-add-watchgpm-mouse-startinput-pending-pinvocation-namekey-descriptionmake-char-tablemarker-positionmatch-beginningopen-termscriptprevious-windowprocess-commandprocess-contactrecursion-depthsearch-backwardselected-windowset-cursor-sizeset-frame-widthstart-kbd-macroterminal-live-ptest-completiontool-bar-heighttrace-redisplaytrace-to-stderrupcase-initialsuser-login-namevertical-motionw32-has-winsockwindow-top-linewindow-use-timex-get-atom-namex-server-vendorxw-color-valuestext/x-markdown\[\<matcher\>\]\d+[Ee][-+]\d+iabstract-opaquetype-struct-septype-param-typeident-or-string^(\s*>\s)(.+\n)IO::Path::PartsIO::Path::Win32IO::Spec::Win32ARGS-TO-CAPTUREcalling-packagecategorize-listenum_from_valueenum_value_listexport_callbackmixin_attributeoffset-in-hourspush-until-lazyset-instruments(?<!(?<!\\)\\)"\^\^|\^|\$\$|\$(?<!(?<!\\)\\)<(?<!(?<!\\)\\)>pod-declaration(?<!(?<!\\)\\)'(?<!(?<!\\)\\){@(debug|html)\b:(catch|then)\bembedded/al.xmlembedded/c#.xmlembedded/hy.xmlembedded/io.xmlDiacriticalDot;DoubleRightTee;DownLeftVector;GreaterGreater;HorizontalLine;InvisibleComma;InvisibleTimes;LeftDownVector;LeftRightArrow;Leftrightarrow;LessSlantEqual;LongRightArrow;Longrightarrow;LowerLeftArrow;NestedLessLess;NotGreaterLess;NotLessGreater;NotSubsetEqual;NotVerticalBar;OpenCurlyQuote;ReverseElement;RightTeeVector;RightVectorBar;ShortDownArrow;ShortLeftArrow;SquareSuperset;TildeFullEqual;UpperLeftArrow;ZeroWidthSpace;curvearrowleft;doublebarwedge;downdownarrows;hookrightarrow;leftleftarrows;leftrightarrow;leftthreetimes;longrightarrow;looparrowright;nshortparallel;ntriangleright;rightarrowtail;rightharpoonup;trianglelefteq;upharpoonright;diffuseconstantdiffuseConstant%s %q: %d %s %sclaude-opus-4-0citations_deltanot_found_errorsignature_deltaAnthropic/Go %smessage preludemessage headersmessage payloadX-Amz-AlgorithmAWS_CONFIG_FILEinvalid URL, %whttp.user_agentx-ms-request-idabort due to %v(\w+)="([^"]*)" is unavailablefine_tuning.jobresponse.failedtext_completionthread.run.stepweb_search_callgeneral failuredata before FINbad close code WAYLAND_DISPLAYinvalid pointerBelowExactAbove (no semicolon)Count too smallinvalid integer0601021504Z0700expected 'true'i32.trunc_f32_si32.trunc_f32_ui32.trunc_f64_si32.trunc_f64_ui64.trunc_f32_si64.trunc_f32_ui64.trunc_f64_si64.trunc_f64_uf64.promote_f32v128.load16x4_sv128.load16x4_uv128.load32x2_sv128.load32x2_uv128.load8_lanei8x16.add_sat_si8x16.add_sat_ui16x8.add_sat_si16x8.add_sat_ui16x8.sub_sat_si16x8.sub_sat_ui32.atomic.loadi64.atomic.loadV128ExtractLaneV128ReplaceLaneV128Q15mulrSatSV128FloatDemoteread opcode: %v%w: %#x != 0x60read export: %wread limits: %vClientRequestIDX-Amzn-Trace-IdX-Amz-RequestIdsigv4-s3express/latest/dynamicResolveEndpointadd Signing: %wEC2RoleProviderProcessProviderGetSessionTokenSecretAccessKeyFederatedUserIdAssumedRoleUserDurationSecondsRoleSessionNameAssumeRoleInputinvalid booleannon-minimal tagunknown Go typeinvalid JSON %s169.254.169.254Metadata-Flavorexpiration_timeUNIVERSE_DOMAIN^\s*\:\-+\:\s*$^[ ]{0,3}<!\-\-CloseCurlyQuoteContourIntegralDoubleDownArrowDoubleLeftArrowDownRightVectorLeftRightVectorLeftTriangleBarLeftUpTeeVectorLeftUpVectorBarLowerRightArrowNotGreaterEqualNotGreaterTildeNotHumpDownHumpNotLeftTriangleNotSquareSubsetOverParenthesisRightDownVectorShortRightArrowUpperRightArrowbigtriangledowncirclearrowleftcurvearrowrightdownharpoonleftleftharpoondownleftrightarrowsnLeftrightarrownleftrightarrowntrianglelefteqrightleftarrowsrightsquigarrowrightthreetimesstraightepsilontrianglerighteqvartriangleleft(?i)^(rtl|ltr)$allow-downloadsFencedCodeBlock%sText%s: "%s"
Prepared messagesCopilot API Errortoo many requeststext/event-streamLSP ConfigurationPreparing edit...Searching code...No modified filesmanual path inputallow for sessionCommand Arguments (DEPRECATED: %s)multipartmaxpartswinreadlinkvolumemissing closing )missing closing ]catppuccin-frappesolarized-dark256base16-snazzy.xmlgruvbox-light.xmlmodus-vivendi.xmlparaiso-light.xmlinvalid stream IDTransfer-EncodingCOMPRESSION_ERRORENHANCE_YOUR_CALMHTTP_1_1_REQUIREDHEADER_TABLE_SIZE; SameSite=StrictIf-Modified-Sinceframe_ping_lengthtruncated headersif-modified-sincetransfer-encodingx-forwarded-protounencrypted_http2bogus greeting %qreset_idle_streaminvalid method %qmissing form bodyX-Idempotency-Keyhttp: nil handlerMoved PermanentlyFailed DependencyToo Many Requestssqlite3_blob_opensqlite3_blob_readsqlite3_db_configsqlite3_db_statussqlite3_realloc64go_vtab_savepointgo_vtab_integritysqlite3_bind_nullsqlite3.Savepointsqlite3_txn_statesqlite3_value_dup*** Update File: *** Delete File: Missing End Patchh1,h2,h3,h4,h5,h6redacted_thinkinganthropic_version --subscription "username-passwordIDENTITY_ENDPOINTX-IDENTITY-HEADERbatches/%s/cancelthread.run.failedthread.run.queuedSearchContextSizeOPENAI_PROJECT_IDimages/variationsuploads/%s/cancelx-goog-api-clientsystemInstructionx-goog-upload-urlsilenceDurationMssessionResumptionfunctionResponsesgroundingMetadatasafetyFilterLevelraiFilteredReasonopJmpIfNotDefineduritemplate:%d:%scharacter forwardbad character %#Uinvalid colour %qduplicate mutatorduplicate emitterdecryption failedhandshake failureillegal parametermissing extensionunrecognized namemessage too large%s at position %d is unimplementedunexpected state text/x-ecmascripttext/x-javascriptallocate-instancearray-in-bounds-pchar-not-greaterpdelete-duplicatesenough-namestringfunction-keywordslist-all-packagesmake-random-statemethod-qualifiersnset-exclusive-orpackage-nicknamesread-char-no-hangremove-duplicatesshared-initializestring-capitalizestring-right-trimsubstitute-if-not&allow-other-keyscompiled-functionsimple-bit-vectorserious-conditionsimple-type-errorstorage-conditioncl-do-all-symbolsdefine-minor-modeeval-when-compilewith-syntax-tablewith-temp-messagewith-wrapper-hookbacktrace--localsbeginning-of-linebool-vector-unionbuffer-modified-pcapitalize-regioncar-less-than-carchar-category-setchar-table-parentclear-image-cachecoding-system-putcolor-supported-pcommand-remappingcontrolling-tty-pcopy-syntax-tablecurrent-idle-timecurrent-local-mapcurrent-time-zonedebug-timer-checkdump-glyph-matrixdump-tool-bar-rowexecute-kbd-macrofile-executable-pframe-char-heightframe-pixel-widthframe-root-windowframe-text-heightframe-total-linesget-buffer-createget-buffer-windowget-char-propertyget-load-suffixesget-text-propertyimagemagick-typesindirect-functionindirect-variableinotify-add-watchinterrupt-processline-end-positionline-pixel-heightlocal-key-bindingmake-category-setmap-charset-charsmemory-use-countsminibuffer-promptminibuffer-windowopen-dribble-fileprofiler-cpu-stopput-text-propertyre-search-forwardread-key-sequenceset-charset-plistset-keymap-parentset-process-plistset-window-bufferstring-as-unibytestring-to-unibytesuspicious-objecttext-property-anythis-command-keystranspose-regionsw32-shell-executewhere-is-internalwindow-body-widthwindow-left-childwindow-new-normalwindow-parameterswindow-pixel-leftwindow-text-widthx-display-screensx-load-color-filex-open-connectionx-window-propertyembedded/html.xmlapplication/x-kidapplication/x-phptext/x-typoscriptsite_block_commondeep_subdirectiveabstract-relationparenthesis-closeIO::Socket::AsyncMetamodel::MixinsMetamodel::NamingPod::Block::NamedPod::Block::TableTelemetry::Periodalternative-namesconfigure_destroyexplicitly-manageis-initial-threadnative-descriptornew-from-daycountoffset-in-minutessetup_mixin_cache(?<=\[\\?)<(?=\])pre-pod-formatter\n *\n|\n(?=^ *=)TypoScriptCSSDataembedded/abap.xmlembedded/abnf.xmlembedded/agda.xmlembedded/bash.xmlembedded/beef.xmlembedded/dart.xmlembedded/diff.xmlembedded/ebnf.xmlembedded/fish.xmlembedded/glsl.xmlembedded/hare.xmlembedded/hlsl.xmlembedded/igor.xmlembedded/java.xmlembedded/json.xmlembedded/llvm.xmlembedded/mako.xmlembedded/mlir.xmlembedded/nasm.xmlembedded/nsis.xmlembedded/odin.xmlembedded/perl.xmlembedded/pony.xmlembedded/prql.xmlembedded/rego.xmlembedded/rexx.xmlembedded/ruby.xmlembedded/rust.xmlembedded/sass.xmlembedded/scss.xmlembedded/snbt.xmlembedded/stas.xmlembedded/tasm.xmlembedded/tcsh.xmlembedded/toml.xmlembedded/twig.xmlembedded/vala.xmlembedded/vhdl.xmlembedded/viml.xmlembedded/wdte.xmlembedded/xorg.xmlembedded/yaml.xmlembedded/yang.xmlDiacriticalAcute;DiacriticalGrave;DiacriticalTilde;DoubleRightArrow;DownArrowUpArrow;EmptySmallSquare;GreaterEqualLess;GreaterFullEqual;LeftAngleBracket;LeftUpDownVector;LessEqualGreater;NonBreakingSpace;NotRightTriangle;NotSupersetEqual;RightTriangleBar;RightUpTeeVector;RightUpVectorBar;UnderParenthesis;UpArrowDownArrow;circlearrowright;downharpoonright;ntrianglerighteq;rightharpoondown;rightrightarrows;twoheadleftarrow;vartriangleright;NotPrecedesEqual;NotSucceedsEqual;NotSucceedsTilde;fediffuselightingfedisplacementmapfeDiffuseLightingfeDisplacementMapgradienttransformlimitingconeanglegradientTransformlimitingConeAnglecomputer_20241022computer_20250124web_search_resultanthropic-versionunknown value, %dDecoded message:
, locked to threadvalue out of range298023223876953125reflect.Value.Callreflect.Value.Elemreflect.Value.Sendreflect.Value.Typereflect: Zero(nil)input/output errorno child processesfile name too longno locks availableidentifier removedmultihop attemptedRFS specific errorstreams pipe errorconnection refusedoperation canceledsegmentation faultuse of closed fileCaucasian_AlbanianRegional_IndicatorVariation_Selectorupgrade_dependencywindow/showMessageError closing filetextDocument/hovercodeAction/resolveContent-Length: %dError opening fileazure.gpt-4.1-nanoopenrouter.gpt-4.1openai/gpt-4o-miniopenrouter.o1-miniopenrouter.o3-miniopenrouter.o4-minisqlite3_data_countgoose.go-migrationCommit transactioninvalid parametersshell is not aliveShell is not alive%s: %s [%s]%s%s %sfile not found: %sFile not found: %scontent_block_stopcontent is missingcancel delete modePreparing write...Preparing patch...Keyboard Shortcutsselected model: %sunknown flag: --%slen of nil pointerx509negativeserialbufio: buffer fullGOOGLE_CLOUD_SHELLmodus-operandi.xmlonesenterprise.xmlrose-pine-dawn.xmlrose-pine-moon.xmlsolarized-dark.xmltokyonight-day.xml15:04:05.000000000http: blank cookiereceived from peerhttp: no such fileapplication/x-gzipFLOW_CONTROL_ERRORProxy-Authenticate404 page not foundframe_goaway_shortproxy-authenticateUNKNOWN_SETTING_%dconnection is idleunexpected type %Ttrailers_not_endedGo-http-client/2.0Go-http-client/1.1Temporary RedirectPermanent RedirectMethod Not AllowedExpectation Failedbad Content-Lengthfield value for %qfield is not validsqlite3_blob_bytessqlite3_blob_closesqlite3_blob_writesqlite3_prepare_v3go_vtab_disconnectgo_vtab_best_indexsqlite3_bind_int64sqlite3_bind_valuesqlite3_columns_go15:04:05.000Z07:00sqlite3_value_freesqlite3_value_typesqlite3_value_textsqlite3_value_blobinvalid annotationstore Up statementopencode-stdout-%dopencode-stderr-%dopencode-status-%dInvalid patch textv1/files?beta=trueapplication/binaryANTHROPIC_BASE_URLbedrock-2023-05-31AzureCLICredential2019-07-01-previewaudio/translationsthread.run.createdthread.run.expireddefault_2024_08_21threads/%s/runs/%simages/generationsdefault-2024-11-15/openai/embeddingsBackendUnspecifiedresponseModalitiesgenerationCompleteinputTranscriptionresponseTokenCountthoughtsTokenCountcacheTokensDetailscompressionQualitybytesBase64EncodedsubjectDescriptioncontrolImageConfigsubjectImageConfiglabels.tune-type:*tModelFullName: %wcharacter backwardprevious list itemflag %q contains =flag redefined: %sserver misbehavinginvalid IP address/etc/nsswitch.confinvalid criteria: chunk out of ordercompression methoddimension overflowunexpected messageexport restrictiondecoding error: %vunhandled part: %stag:yaml.org,2002:text/javascript1.0text/javascript1.1text/javascript1.2text/javascript1.3text/javascript1.4text/javascript1.5unable to parse IPnetip.ParsePrefix(sign-extension-opsgo_current_time_64adjustable-array-parray-displacementarray-element-typefile-string-lengthget-setf-expansionget-universal-timenstring-capitalizensubstitute-if-notpathname-directoryspecial-operator-ptranslate-pathnamevector-push-extenddestructuring-bindsimple-base-stringprint-not-readableundefined-functionmethod-combinationcl-load-time-valuecl-symbol-macroletaccessible-keymapsbuffer-base-bufferbuffer-enable-undobuffer-local-valuecall-interactivelycategory-docstringchar-table-subtypeclear-charset-mapscoding-system-baseconstrain-to-fieldcurrent-case-tablecurrent-global-mapcurrent-input-modedaemon-initializeddefault-file-modesevent-convert-listfont-shape-gstringformat-time-stringframe-border-widthframe-first-windowframe-fringe-widthframe-pixel-heightget-buffer-processglobal-key-bindinggnutls-available-pgnutls-peer-statusinit-image-libraryinsert-and-inheritinternal-char-fontmake-frame-visiblemake-sparse-keymapmake-symbolic-linkmsdos-mouse-enablemsdos-set-keyboardmultibyte-string-pnumber-or-marker-poverlay-propertiesparse-partial-sexpposix-string-matchprocess-attributesprocess-connectionprofiler-cpu-startre-search-backwardread-coding-systemrecent-auto-save-prun-hook-with-argsset-category-tableset-frame-positionset-mouse-positionset-process-bufferset-process-filterset-time-zone-ruleset-window-fringesset-window-hscrollset-window-marginsset-window-vscrollskip-chars-forwardspecial-variable-pterminal-parametertext-properties-atvisible-frame-listw32-battery-statusw32-long-file-namew32-unload-winsockw32notify-rm-watchwindow-body-heightwindow-dedicated-pwindow-left-columnwindow-line-heightwindow-normal-sizewindow-pixel-edgeswindow-pixel-widthwindow-scroll-barswindow-text-heightwindow-total-widthx-close-connectionx-display-mm-widthx-wm-set-size-hintxw-color-defined-pxw-display-color-pwith-electric-helpapplication/x-raku<\s*[a-zA-Z0-9:.]+(import|package)\b0[xX][0-9a-fA-F_]+"(\\\\|\\"|[^"])*"preproc-expr-chainoptional-semicolonfunction-param-sep(?:case|default)\barray-access-closeDistribution::HashDistribution::PathMetamodel::EnumHOWTelemetry::SamplerMONKEY-SEE-NO-EVALadd_private_methoddelete-by-compilersetup_finalization::\?\w+(?::[_UD])?opening_delimiters(:)(!?)(\w[\w'-]*)escape-hexadecimalregex-escape-classclosing_delimiterssingle-quote-innerqq-variable-extras((?:\\\\|\\/|.)*?)TypoScriptHTMLDataembedded/alloy.xmlembedded/antlr.xmlembedded/bicep.xmlembedded/cmake.xmlembedded/cobol.xmlembedded/dylan.xmlembedded/forth.xmlembedded/gleam.xmlembedded/groff.xmlembedded/holyc.xmlembedded/idris.xmlembedded/julia.xmlembedded/mason.xmlembedded/meson.xmlembedded/metal.xmlembedded/mysql.xmlembedded/ocaml.xmlembedded/ragel.xmlembedded/react.xmlembedded/scala.xmlembedded/sieve.xmlembedded/smali.xmlembedded/swift.xmlembedded/typst.xmlembedded/ucode.xml(?m)^(\W* {0,3})> DoubleUpDownArrow;DoubleVerticalBar;DownLeftTeeVector;DownLeftVectorBar;FilledSmallSquare;GreaterSlantEqual;LeftDoubleBracket;LeftDownTeeVector;LeftDownVectorBar;LeftTriangleEqual;NegativeThinSpace;NotReverseElement;NotTildeFullEqual;RightAngleBracket;RightUpDownVector;SquareSubsetEqual;VerticalSeparator;blacktriangledown;blacktriangleleft;leftrightharpoons;rightleftharpoons;twoheadrightarrow;NotGreaterGreater;NotLessSlantEqual;NotNestedLessLess;NotSquareSuperset;fespecularlightingfeSpecularLightingrequiredextensionsrequiredExtensionsunknown combinator in union registrystr_replace_editorComputePayloadHashcredential_processRESPONSE RECEIVED
unknown address type command not supportedPrecondition RequiredInternal Server Error02 Jan 06 15:04 -0700record on line %d: %vsqlite3_backup_finishsqlite3_config_log_gosqlite3_result_doublesqlite3_vtab_nochangego_vtab_find_functionsqlite3_db_cacheflushsqlite3_vtab_in_firstsqlite3: not an errorstore simple Up query%s File Error: %s: %sInvalid sibling type.invalid_request_errorv1/files/%s?beta=truev1/messages?beta=truereceived error %s: %sEnvironmentCredentialauthentication failedcould not stat %q: %vcould not read %q: %vunknown credential %qtranscript.text.deltathread.run.cancellingthread.run.incompletethread.run.step.deltachat.completion.chunkX-Goog-Upload-CommandresponseTokensDetailsgoogleSearchRetrievalfunctionCallingConfigraiMediaFilteredCountgenerateVideoResponse{model}:computeTokensincomplete expressionflag %q begins with -single-request-reopenparsenetlinkrouteattrbad number syntax: %qundefined variable %qpng: invalid format: not enough pixel dataunexpected element %sdecompression failureunsupported extensionunhandled kv part: %sinvalid emitter stateexpected STREAM-STARTexpected DOCUMENT-ENDcannot marshal type: write handler not setat range loop break: IPv4 address too longunexpected slice sizechecksum_verificationarray-row-major-indexcompile-file-pathnamedecode-universal-timeencode-universal-timeget-internal-run-timemake-broadcast-streampackage-error-packagereinitialize-instancesynonym-stream-symbolunbound-slot-instanceuser-homedir-pathnamedefine-compiler-macrowith-compilation-unitwith-output-to-stringwith-package-iteratorcl-destructuring-bindsave-window-excursionaccept-process-outputbackward-prefix-charsbuffer-has-markers-atccl-execute-on-stringchar-table-extra-slotcharset-priority-listcoding-system-aliasesdbus-message-internaldeclare-equiv-charsetdefine-prefix-commanddestroy-fringe-bitmapfile-attributes-lesspfont-variation-glyphsframe-selected-windowfringe-bitmaps-at-posfuncall-interactivelyinsert-before-markersinsert-startup-screeninternal--track-mouselist-system-processesmarker-insertion-typeminibuffer-prompt-endmodify-category-entrymsdos-long-file-namesposix-search-backwardprocess-coding-systemprofiler-memory-startset-buffer-auto-savedset-buffer-major-modeset-buffer-modified-pset-char-table-parentset-minibuffer-windowset-window-new-normalsplit-window-internalstandard-syntax-tablestore-kbd-macro-eventstring-collate-equalpstring-make-multibytetext-char-descriptiontext-property-not-allw32-default-color-mapx-display-color-cellsx-display-grayscale-px-display-pixel-widthx-send-client-messagex-uses-old-gtk-dialog(import)(\s+)([^\s]+)(<\?python)(.*?)(\?>)\.\d+([eE][+\-]?\d+)?[|^<>=!()\[\]{}.,;:~](?:class|interface)\bstring-interpol-closetype-param-constraint(?:true|false|null)\bhidden-from-backtraceDistribution::LocallyMetamodel::PrimitivesMetamodel::Versioningfind_method_qualified(?<!(?<!\\)\\)<\(|\)>regex-character-class(?<!(?<!\\)\\)(\\)(.)embedded/angular2.xmlembedded/gdscript.xmlembedded/iscdhcpd.xmlembedded/makefile.xmlembedded/minizinc.xmlembedded/modula-2.xmlembedded/newspeak.xmlembedded/openscad.xmlembedded/org_mode.xmlembedded/pl_pgsql.xmlembedded/python_2.xmlembedded/reasonml.xmlembedded/rpm_spec.xmlembedded/solidity.xmlembedded/tablegen.xmlembedded/terminfo.xml(?m)^([^\\\w]*)[*+-] -//ietf//dtd html 3//-//w3c//dtd w3 html//CapitalDifferentialD;DoubleLeftRightArrow;DoubleLongRightArrow;EmptyVerySmallSquare;NestedGreaterGreater;NotDoubleVerticalBar;NotLeftTriangleEqual;NotSquareSubsetEqual;OpenCurlyDoubleQuote;ReverseUpEquilibrium;NotGreaterSlantEqual;application/xhtml+xmlcode_execution_outputcode_execution_resultmessage_batch_deletedunknown RetryMode, %vunknown value type %dAWS_ROLE_SESSION_NAMEAWS_S3_USE_ARN_REGIONAWS_USE_FIPS_ENDPOINTaws_secret_access_keyaz.service_request_idEnd Try #%d, Delay=%vinvalid NumericStringx509: invalid versioncode_interpreter_callfine_tuning.job.eventresponse.refusal.donecode_challenge_methodwebsocket: close sentSec-WebSocket-VersionSec-Websocket-Versionlen > 125 for controlsimulated PCT failureFloat.SetFloat64(NaN)set bit is not 0 or 1use of closed Encodermessage limit reachedinvalid character %#Uexpected character %cf32x4.convert_i32x4_sf32x4.convert_i32x4_ui32.atomic.rmw8.add_ui64.atomic.rmw8.add_ui32.atomic.rmw8.sub_ui64.atomic.rmw8.sub_ui32.atomic.rmw8.and_ui64.atomic.rmw8.and_ui32.atomic.rmw16.or_ui64.atomic.rmw16.or_ui64.atomic.rmw32.or_ui32.atomic.rmw8.xor_ui64.atomic.rmw8.xor_uread memory align: %vlane for %s not foundexceeds maximum countmodule closed with %sI32ReinterpretFromF32I64ReinterpretFromF64F32ReinterpretFromI32F64ReinterpretFromI64%s: type=%d, table=%dssa->machine code: %vread f32 constant: %vread f64 constant: %vread memory index: %vread leading byte: %wread leading byte: %vread min of limit: %vread max of limit: %vread data segment: %wfailed to read %s: %w%s is not valid UTF-8Initialize stack stepOperationDeserializerRequestResponseLoggerAmz-Sdk-Invocation-IdX-Amz-Grant-Write-AcptokenTTLRequestHeaderAccessDeniedExceptionExpiredTokenExceptionInvalidGrantExceptionInvalidScopeExceptionauthorizationEndpointclientSecretExpiresAt/device_authorizationUnauthorizedExceptionListAccountRolesInputIDPCommunicationErrorGetSessionTokenResultGetAccessKeyInfoInputauthorization_pendingclient_assertion_typereceived nil responserequest cannot be nilsequence tag mismatchGoogle Compute Enginefall back to dial: %s^[ ]{0,3}<\!\[CDATA\[CloseCurlyDoubleQuoteDoubleContourIntegralFilledVerySmallSquareNegativeVeryThinSpaceNotPrecedesSlantEqualNotRightTriangleEqualNotSucceedsSlantEqualund af az el lt nl tr^([\s\p{L}\p{N}_-]+)$DefinitionDescriptioninvalid JPEG format: too many coefficientsuser: invalid userid user: unknown userid invalid scalar lengthcrypto/rsa: p is evenBUG: invalid ext modesource_offset_info %dinvalid lane type: %sinvalid line range: 0unsupported version 0SignatureDoesNotMatchEC2ThrottledExceptionunknown transport, %Tendpoint not providedoidc.{region}.api.awstoken is unverifiableConfig is unavailablenetwork.protocol.name^(0[.]?[0-9]*)|(1.0)$^saturate\([0-9]+%\)$background-attachmentbackground-blend-modefont-variant-positiongrid-template-columnstext-decoration-colortext-decoration-style(?i)\s*!important\s*$ccitt: invalid boundsccitt: invalid offsetGRPC_GO_LOG_FORMATTERALPN_PROTOCOL_HTTP1_1invalid nesting depthinvalid length for IDinvalid Resource typeinvalid SpanLink type[0-9]*\.[0-9]+|[0-9]+"FAILED_PRECONDITION"java_generic_servicesmessage_set_extension(%d events discarded)ExtensionRangeOptionsunexpected field kindXXX_lazyUnmarshalInfomismatching field: %vinvalid nil Timestampmissing "@type" fieldgoogle.protobuf.Valuesubscription cancelled%d_response_stream.log0123456789aAbBcCdDeEfFexpected quoted string/lib/time/zoneinfo.zipLSP client initializedproviders.azure.apiKeymodel %s not supported{
exit hook invoked panicSplit called after Scanpattern bits too long: invalid escape sequenceunknown empty width argmissing protocol schemeinvalid URI for requestEscapeIntermediateStateinvalid UUID length: %dunknown symbol type: %Thttp2: handler panickedhttp: request too largenet/http: abort Handlertext/xml; charset=utf-8ENABLE_CONNECT_PROTOCOLunknown error code 0x%xframe_goaway_has_streamframe_headers_pad_shortframe_rststream_bad_leninvalid HTTP trailer %snet/http context value unknown relationship %qmalformed HTTP responsemulti wildcard not lastnon-zero reserved fieldnetwork not implementedcommand not implementedVariant Also Negotiateserror decoding '%s': %wsqlite3: invalid whencesqlite3: invalid offsetsqlite3_busy_handler_goINTEGERFLOATEXTBLOBNULLsqlite3_anycollseq_initsqlite3_bind_zeroblob64sqlite3_bind_pointer_gosqlite3_column_decltype2006-01-02 15:04:05.0002006-01-02T15:04:05.000sqlite3: disk I/O errorstore simple Down query'azd' is not recognizedEnvironmentCredential: thread.run.step.createdthread.run.step.expiredX-Stainless-Poll-Helpervector_stores/%s/searchfailed to get token: %winputAudioTranscriptioncachedContentTokenCounttoolUsePromptTokenCountcandidatesTokensDetailssessionResumptionUpdateincludeSafetyAttributesraiMediaFilteredReasons{model}:generateContentOperation name is emptypublishers/%s/models/%sincomplete pct-encodeedcapitalize word forwardfailed to start fzf: %wunexpected address typemissing port in address0123456789abcdefABCDEF_function %q not definedunsupported mutator: %wunexpected attribute %sunsupported certificateno application protocolech accept confirmationCLIENT_TRAFFIC_SECRET_0SERVER_TRAFFIC_SECRET_0tls: invalid PSK binderQUICEncryptionLevel(%v)multipart: NextPart: %winvalid response code: /etc/apache2/mime.typestext/css; charset=utf-8varint integer overflowunknown character widthwhile scanning an aliashtml/template:%s:%d: %s%q in unquoted attr: %qcompiler-macro-functionensure-generic-functionmake-instances-obsoleteprint-unreadable-objectwith-condition-restartswith-standard-io-syntaxfloating-point-overflowcancel-kbd-macro-eventsclear-this-command-keyscompose-region-internalcompose-string-internalcomposition-get-gstringcoordinates-in-window-pcurrent-minor-mode-mapsdefine-charset-internaldump-frame-glyph-matrixframe-pointer-visible-pframe-scroll-bar-heightinsert-buffer-substringinternal-copy-lisp-faceinternal-make-lisp-facelibxml-parse-xml-regionline-beginning-positionlocal-variable-if-set-pmake-directory-internalmodify-frame-parametersmsdos-downcase-filenamemsdos-set-mouse-buttonspos-visible-in-window-pprevious-overlay-changeprocess-running-child-psend-string-to-terminalset-output-flow-controlset-process-window-sizeset-standard-case-tableset-window-next-buffersset-window-prev-buffersstandard-category-tablesubstitute-command-keyssubstitute-in-file-namesubstring-no-propertiestty-display-color-cellsw32-frame-menu-bar-sizew32-get-keyboard-layoutw32-get-valid-codepagesw32-reconstruct-hot-keyw32-registered-hot-keysw32-set-keyboard-layoutwindow-mode-line-heightwindow-scroll-bar-widthx-display-backing-storeapplication/x-httpd-php(true|false|iota|nil)\b\d+\.\d*([Ee][-+]\d+)?i([a-zA-Z_]\w*)(\s*)(\()^(\s*)([0-9]+\.)( .+\n)Lock::ConditionVariableMetamodel::Finalizationconfigure_type_checking(\\[x|X])([0-9a-fA-F]+)(?<!(?<!\\)\\)(?:\]|\))(?<!(?<!\\)\\)(?:\[|\()(EXT|FILE|LLL):[^}\n"]*embedded/apacheconf.xmlembedded/autohotkey.xmlembedded/blitzbasic.xmlembedded/chaiscript.xmlembedded/handlebars.xmlembedded/javascript.xmlembedded/mcfunction.xmlembedded/pacmanconf.xmlembedded/postscript.xmlembedded/powerquery.xmlembedded/powershell.xmlembedded/properties.xmlembedded/sourcepawn.xmlembedded/typescript.xmlembedded/typoscript.xml-//ietf//dtd html 2.0//-//ietf//dtd html 3.0//-//ietf//dtd html 3.2//DiacriticalDoubleAcute;NotSquareSupersetEqual;html: unknown node typecode_execution_20250522X-Stainless-Retry-Countinvalid value %s=%s, %wweb_identity_token_file=====> Try=%d for %s %sexit due to ShouldRetry/etc/pki/tls/cacert.peminvalid PrintableStringx509: malformed UTCTimex509: invalid key usagex509: malformed versionchat.completion.deletedauth.google.tokenSourcecreated self-signed JWTmalformed ws or wss URLwebsocket: write closed (invalid payload data)proxy: unknown scheme: proxy: SOCKS5 proxy at too many pointers (>10)segment length too longunpacking Question.Nameunpacking Question.Typeskipping Question Classflate: internal error: xml: unsupported type: expected element type <expected value, not eofi32x4.trunc_sat_f32x4_si32x4.trunc_sat_f32x4_uf32x4.demote_f64x2_zerof64x2.promote_low_f32x4i32.atomic.rmw16.xchg_ui64.atomic.rmw16.xchg_ui64.atomic.rmw32.xchg_uunknown table index: %dunknown misc opcode %#xill-nested block existsoperationKindAtomicLoadoperationKindAtomicRMW8get the size locals: %vlook for end opcode: %vread bytes for init: %vread element prefix: %wread function index: %wunknown request type %Trequest send failed, %vinvalid endpoint host%sRegisterServiceMetadataX-Amz-Copy-Source-Rangeresolve auth scheme: %wno resolved auth schemeInternalServerExceptionInvalidRequestExceptionunexpected JSON type %vverificationUriCompleteendpoint rule error, %sFailed to parse uri: %sCreateTokenWithIAMInput/federation/credentialsGetRoleCredentialsInputMalformedPolicyDocumentRegionDisabledExceptionGetCallerIdentityResultAssumeRoleWithSAMLInputGetFederationTokenInputasn1: structure error: truncated tag or length[_\p{L}][_\p{L}\p{N}]*$LinkifyAllowedProtocols([A-Za-z][A-Za-z0-9-]*)%slinkLabelState: "%s"
%wfiles/%s:download?alt=mediapublishers/google/models/%serror parsing MaxLength: %werror parsing MinLength: %werror parsing SizeBytes: %wunrecognized value modifiererror getting file info: %winvalid boolean flag %s: %vflag needs an argument: -%scgo stub: cgo not availableAs4 called on IP zero value in action started at %s:%d{{break}} outside {{range}}too many declarations in %sbit depth %d, color type %dinsufficient security levelCurveP256CurveP384CurveP521cryptobyte: length overflowtls: short read from Rand: hrr ech accept confirmationhttp chunk length too largefloat cannot end with a dottag value must not be emptyinvalid leading UTF-8 octetincomplete UTF-16 characterexpected low surrogate areawhile scanning a simple keycould not find expected ':'while increasing flow level_html_template_jsstrescaper_html_template_jsvalescaper%q in attribute name: %.32qIPv6 field has value >=2^16concatenated-stream-streamshash-table-rehash-thresholdlisp-implementation-versionmake-load-form-saving-slotstwo-way-stream-input-streamupgraded-array-element-typecondition-case-unless-debugwith-parsed-tramp-file-namecheck-coding-systems-regioncoding-system-priority-listfile-accessible-directory-pfont-get-system-normal-fontnext-single-property-changeresize-mini-window-internalrun-window-scroll-functionsverify-visited-file-modtimewindow-absolute-pixel-edgeswindow-bottom-divider-widthx-disown-selection-internalpreproc-expr-in-parenthesis~/(\\\\|\\/|[^/\n])*/[gim]*IO::Notification.watch-path(?<!(?<!\\)\\)(\\[abfrnrt])(`.+?`)(:[a-zA-Z0-9:-]+?:)?embedded/actionscript_3.xmlembedded/onesenterprise.xml-//ietf//dtd html level 0//-//ietf//dtd html level 1//-//ietf//dtd html level 2//-//ietf//dtd html level 3//str_replace_based_edit_toolX-Stainless-Package-VersionX-Stainless-Runtime-VersionX-Amz-Expected-Bucket-Ownerx-amz-expected-bucket-ownerAWS_SHARED_CREDENTIALS_FILEAWS_WEB_IDENTITY_TOKEN_FILEdisable_request_compressionSharedConfigCredentials: %sunsupported string type: %vx509: malformed certificatex509: no valid chains builtcurrent time %s is after %spkcs12: trailing data foundresponse.content_part.addedauth: cannot parse json: %w rejected username/passwordboringcrypto: not availablexml: start tag with no namexml: opening charset %q: %winvalid ASN.1 from SignASN1cipher: incorrect length IVexpected key but found noneunterminated literal stringtable of index %d not foundunknown SIMD instruction %sinvalid atomic opcode: 0x%xtype index out of range: %dmodule[%s] not instantiatedfunctionality not supportedreading i32.const value: %vreading i64.const value: %v%s.%s (align=%d, offset=%d)expr not end with OpcodeEndmalformed custom section %sredundant custom section %sfailed to skip name[%s]: %wfunction[%d] local[%d] nameread %d-th code segment: %vtext-decoration="underline"insert ID must not be emptyremove ID must not be emptyMon, _2 Jan 06 15:04:05 GMTGetInstanceIdentityDocumentadd protocol finalizers: %wfailed to get API token, %wCredentialsEndpointProviderlegacyEndpointContextSetteradd protocol finalizers: %vUnauthorizedClientExceptionInvalidRedirectUriExceptionSubjectFromWebIdentityTokenprivate key is not a signersystem:serviceaccount:%s:%simpersonated token responsecontext_aware_metadata.jsonempty cert_provider_commandContext{Store:%#v, Refs:%s}gif: reading image data: %vuninitialized Huffman tablerepeated component selectortiff: unsupported feature: BitsPerSample must not be 0illegal \ at end of patternEd25519 sign and verify PCTinvalid P224 point encodinginvalid P256 point encodinginvalid P384 point encodinginvalid P521 point encodinginput overflows the modulusextendedGCD: a or m is zeroout of bounds memory accessindirect call type mismatchindirect_call_type_mismatchWideningPairwiseDotProductScannot determine byte orderoidc.{region}.amazonaws.comoidc.{region}.sc2s.sgov.govportal.sso.{region}.api.awssts.{region}.cloud.adc-e.uksts.{region}.csp.hci.ic.goved25519: verification errorGOOGLE_SDK_GO_LOGGING_LEVELEnterpriseCertSigner.Publicinvalid public key type: %TOTEL_SPAN_EVENT_COUNT_LIMITInvalid HTTP status code %dhttp.request_content_lengthNAF digits must fit in int8Incorrect identity type: %vGRPC_GO_LOG_VERBOSITY_LEVELCONNECTION_SIDE_UNSPECIFIEDinvalid type name length %ddecode can't handle type %sbad data: undefined type %srpc: client protocol error:invalid Resource field: %#vinvalid SpanLink field: %#vChannel authority set to %qoriginal dial target is: %qlistenerAddressForServeHTTP%v %v is already registeredtransport: malformed %s: %vconnection error: desc = %qunknown signature algorithmmismatching message lengthsinvalid Message.Mutable on %v: assigning invalid value%s: seconds out of range %vinvalid format option: %s
GODEBUG sys/cpu: can not enable "TODO: unsupported in wazevo yet: trampoline should not have paramsunknown size for DW_FORM_ref_addrunknown size for DW_FORM_strp_supoidc.ap-northeast-1.amazonaws.comoidc.ap-northeast-2.amazonaws.comoidc.ap-northeast-3.amazonaws.comoidc.ap-southeast-1.amazonaws.comoidc.ap-southeast-2.amazonaws.comoidc.ap-southeast-3.amazonaws.comoidc.ap-southeast-4.amazonaws.comoidc-fips.{region}.cloud.adc-e.ukoidc-fips.{region}.csp.hci.ic.govportal.sso.{region}.amazonaws.comportal.sso.{region}.sc2s.sgov.govRSA verify expects *rsa.PublicKeyfailed to kill signer process: %wfailed to retrieve public key: %wOTEL_ATTRIBUTE_VALUE_LENGTH_LIMITccitt: run length overflows widthscalar has high bit set illegally[a-zA-Z0-9_-]|{nonascii}|{escape}grpc: the server has been stoppedChannel Connectivity change to %vgrpc: error while compressing: %vNewServerTransport(%q) failed: %vEncountered http2.StreamError: %vinvalid (non-empty) authority: %v* not allowed in blacklist configinvalid SetUnknown on nil Messagegrpc.lb.pick_first.disconnectionsno support for proto1 MessageSets%s contains irreversible value %qtimeseries: start > finish, %v>%vcould not format value for %v: %vFailed to create session directory: day-of-year does not match monthAWS_CONTAINER_CREDENTIALS_FULL_URIfailed to check init flag file: %werror closing listNewFilesStmt: %werror closing listSessionsStmt: %wcobra_annotation_flag_set_by_cobraCommand can't be a child of itselfin \u hexadecimal character escapeexpected comma after array elementslice bounds out of range [:%x:%y]slice bounds out of range [%x:%y:]SIGURG: urgent condition on socketruntime: standard file descriptor out of memory allocating allArenas/memory/classes/heap/objects:bytesruntime.SetFinalizer: cannot pass too many pages allocated in chunk?mspan.ensureSwept: m is not lockedruntime: netpollBreak write failedforEachP: sched.safePointWait != 0schedule: spinning with local workentersyscallblock inconsistent bp entersyscallblock inconsistent sp runtime: g is running but p is notinvalid timer channel: no capacityinvalid quoted value in build linebytes: Join output length overflow3552713678800500929355621337890625reflect: Method index out of rangereflect: ChanDir of non-chan type reflect: Field of non-struct type reflect: Field index out of boundsreflect.FuncOf: too many argumentsreflect.StructOf: duplicate field " is anonymous but has PkgPath setreflect: string index out of rangereflect: recv on send-only channelreflect: send on recv-only channelreflect.Value.Grow: slice overflowtoo many references: cannot spliceexecutable file not found in $PATHOther_Default_Ignorable_Code_Pointsql: expected %d arguments, got %dunpaired removeDep: no deps for %TSkipping large file for preloadingfailed to execute SQL query %q: %wfailed to delete goose version: %wFailed to parse fetch parameters: Failed to extract text from HTML: received error while streaming: %sfailed to read command file %s: %wFlag --%s has been deprecated, %s
Add action for %s has nil new_content/model/%s/invoke-with-response-streamAzure Developer CLI not found on pathmissing required message_id parameterhttps://%s-aiplatform.googleapis.com/the resource doesn't support download{model}:streamGenerateContent?alt=ssetModelFullName: model is not a stringtExtractModels: response is not a mapvariable value type must be a pointercomment ends before closing delimiterunrecognized character in action: %#Ucrypto: Size of unknown hash functiontls: unsupported certificate key (%T)TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256tls: failed to verify certificate: %sgzip.Write: non-Latin-1 header stringcouldn't parse hexadecimal number: %wcannot have underscore after exponentexpected DOCUMENT-START or STREAM-ENDinfinite loop from %v to %v on %q..%qeach group must have 4 or less digitscygwin-convert-file-name-from-windowsinternal-event-symbol-parse-modifierswith-lock-hidden-from-recursion-check#`(?<opening_delimiters>(?<delimiter>(\{)(\$)((?:[\w\-]+\.)*)([\w\-]+)(\})(#[a-fA-F0-9]{6}\b|#[a-fA-F0-9]{3}\b)embedded/nginx_configuration_file.xmlhtml: cannot render an ErrorNode nodeexpected identifier, found %c insteadapijson: received invalid key type %vapijson: couldn't find union of type apijson: failed to parse int strictlyapijson: failed float enum validationanthropic.claude-opus-4-20250514-v1:0unexpected request middleware type %Texit due to non-retriable status codex509: malformed extension value fieldx509: RSA key missing NULL parametersx509: invalid CRL distribution pointsx509: unsupported private key versionx509: invalid Ed25519 private key: %v%d chains with incompatible key usagepkcs12: decryption password incorrectresponse.file_search_call.in_progressresponse.function_call_arguments.doneresponse.output_text.annotation.addedauth: response doesn't have JWT tokencredentials: options must be providedcredentials: could not encode JWT: %wtoo many Authorities to pack (>65535)too many Additionals to pack (>65535)hash/adler32: invalid hash state sizexml: bad type for comment field of %sinvalid sequence <!- not part of <!--subtle: slices have different lengthscipher: message authentication failedcrypto/cipher: invalid buffer overlapcrypto/cipher: incorrect GCM tag sizechacha20poly1305: plaintext too largeout does not point to an integer typecrypto/ecdh: invalid private key sizeinvalid character at start of key: %cliteral strings cannot have new linescannot pop the offset in table for %scannot pop the i32 operand for %s: %vcannot pop the 1st operand for %s: %vcannot pop the 2nd operand for %s: %vcannot pop the i64 operand for %s: %vcannot pop the f32 operand for %s: %vcannot pop the f64 operand for %s: %vfailed to read table index for %s: %vneed %d results, but stack size is %dmin %d pages (%s) > max %d pages (%s)BUG: MmapCodeSegment with zero lengthbug: invalid control frame Kind: 0x%x%v for const expression opt code: %#xX-Amz-Copy-Source-If-Unmodified-Sincemissing AccessKeyId in process outputInvalid Configuration: Missing Regionendpoint parameters are not valid, %wv2.0/.well-known/openid-configurationthe authority doesn't support tenants^v\d+\.\d+\.\d+(?:-[a-zA-Z0-9_.-]+)?$nopClosingBytesReader: invalid whenceexplicitly tagged member didn't matchmetadata: GCE metadata %q not definedGOOGLE_EXTERNAL_ACCOUNT_TOKEN_TYPE=%vGOOGLE_EXTERNAL_ACCOUNT_INTERACTIVE=0externalaccount: Audience must be setwrong number of samples for 16bit RGB(?(%v) ) reference to undefined groupbigmod: internal error: shrinking natcrypto/rsa: unsupported hash functioncrypto/rsa: public exponent too largecall_go_module_function_with_listenerjump_table_island: jmp_table_index=%dBUG: invalid reg operand: must be rcxunrecognized encoding attribute value^(us|eu|ap|sa|ca|me|af|il)\-\w+\-\d+$portal.sso.ca-central-1.amazonaws.comportal.sso.eu-central-1.amazonaws.comportal.sso.eu-central-2.amazonaws.comportal.sso.il-central-1.amazonaws.comportal.sso.me-central-1.amazonaws.comurn:oasis:names:tc:SAML:1.0:assertionurn:oasis:names:tc:SAML:2.0:assertionECDSA verify expects *ecdsa.PublicKeyRSA-PSS verify expects *rsa.PublicKeyinvalid Connection request header: %qEnterpriseCertSigner.CertificateChaincannot set a key on a private use taglanguage: region is not a valid ccTLDunmarshalMap called on non-*map valuecannot parse invalid wire-format dataREQUEST_CLIENT_CERTIFICATE_AND_VERIFY/s2a.proto.v2.S2AService/SetUpSessionname not registered for interface: %qbad data: ignore can't handle type %stype not registered for interface: %sgob NewTypeObject can't handle type: url\({w}(?:{string}|{urlchar}*?){w}\)U\+[0-9A-F\?]{1,6}(?:-[0-9A-F]{1,6})?grpc.internal.resolver.configSelectorgrpc: error unmarshalling request: %vGOLANG_PROTOBUF_REGISTRATION_CONFLICTmalformed header: missing HTTP statusbinarylogging: failed to parse %q: %vfailed to parse binary log config: %vinvalid type: got %v, want slice kindPut called on closed buffer.Unboundedtimestamp (%v) has out-of-range nanosMCP message handling goroutine exitingnewline in format does not match inputnewline in input does not match formatnon-positive interval for Ticker.Resettime: missing Location in call to DateAWS_CONTAINER_CREDENTIALS_RELATIVE_URIinvalid max tokens, setting to defaultsession_id and message_id are requiredfailed to create assistant message: %wafter decimal point in numeric literalindex out of range [%x] with length %ymakechan: invalid channel element typeunreachable method called. linker bug?gcBgMarkWorker: blackening not enabledcannot read stack of running goroutineruntime: blocked read on free polldescruntime: sudog with non-false isSelectarg size to reflect.call more than 1GBv could not fit in traceBytesPerNumberstrings.Reader.ReadAt: negative offsetstrings.Reader.Seek: negative positionstrings: Repeat output length overflow1110223024625156540423631668090820312555511151231257827021181583404541015625reflect.typeptrdata: unexpected type, reflect: close of receive-only channelreflect: Method on nil interface valuecan not access a needed shared libraryexec: StdoutPipe after process startedexec: StderrPipe after process startednon-subset type %T returned from Valuesql: Register called twice for driver Error unmarshaling registration paramstextDocument/semanticTokens/full/deltafailed to insert new goose version: %wfailed to create commit from patch: %sunsupported model for bedrock providerFailed to refresh Copilot bearer tokenfailed to get relative path for %s: %wtemplate: %s: executing %q at <%s>: %scan't give argument to non-function %sindirection through explicit nil in %sevalEmptyInterface: nil (can't happen)concurrent map iteration and map writetype %T not one of [HoverOptions bool]failed to parse Location header %q: %vhttp2: server connection from %v on %phttp: Accept error: %v; retrying in %vunable to cast %#v of type %T to int64unable to cast %#v of type %T to []intresult must be addressable (a pointer)error decoding json.Number into %s: %ssqlite3: reserve bytes must be 8, is: : may not be used as a window functionfailed to parse annotation line %q: %winvalid option: missing implementationthreads/%s/runs/%s/submit_tool_outputsvector_stores/%s/file_batches/%s/filesfailed to find default credentials: %wgoogle-vertex-llm-tuning-base-model-idflag %s set at %s before being defined%s does not belong to TokenType valuestls: invalid ClientKeyExchange messagetls: invalid ServerKeyExchange messageexpected an Ed25519 public key, got %Tinternal error: unknown signature typetls: server selected unsupported grouptls: unsupported signing key type (%T)tls: early_data without pre_shared_keytls: client sent unexpected early datatls: failed to sign ECDHE parameters: tls: server selected unsupported curvetls: missing ServerKeyExchange messagetls: internal error: unsupported curvemime: expected slash after first tokenextra bytes at the end of the timezonecannot have underscore before exponentline %d: cannot unmarshal %s%s into %sline %d: field %s not found in type %sdid not find expected <document start>could not find expected directive namefound an incorrect leading UTF-8 octetIPv4 field has octet with leading zeroset-process-inherit-coding-system-flag\b(v)(\d+)((?:\.(?:\*|[\d\w]+))*)(\+)?-//ietf//dtd html 2.0 strict level 1//-//ietf//dtd html 2.0 strict level 2//-//w3c//dtd html experimental 970421//html: internal error (plaintext abort)expected identifier, found EOF insteadattribute operator %q is not supportedapijson: failed string enum validationapijson: failed to parse bool strictlyapijson: failed to parse uint strictlyapijson: unexpected invalid value %+#vAWS_REQUEST_MIN_COMPRESSION_SIZE_BYTESAWS_EC2_METADATA_SERVICE_ENDPOINT_MODEAWS_CONTAINER_AUTHORIZATION_TOKEN_FILEfailed to find SSO session section, %vx509: invalid subject alternative namex509: invalid authority key identifierx509: empty name constraints extensionx509: failed to parse EC private key: x509: cannot validate certificate for response.function_call_arguments.deltamissing required response_id parameterrecursive set of Transformers detectedinsufficient data for base length typearch-specific Castagnoli not availablexml: EncodeToken of invalid token typeecdsa: public key does not match curvechacha20poly1305: ciphertext too largeKind.String() not implemented for '%d'cannot pop the required operand for %sfailed to read memory index for %s: %vinvalid lane index[%d] %d >= %d for %stype mismatch: expected %s, but was %sBUG: param[%d] has an invalid type: %vcode count (%d) != function count (%d)BUG: stack must be aligned to 16 bytesdata count section not supported as %velement kind must be zero but was 0x%x%w for mutability: %#x != 0x00 or 0x01crypto/sha256: invalid hash state sizehttp response error StatusCode: %d, %vfailed to copy error response body, %wfailed to resolve service endpoint, %wmalformed moduleVersion param value %sinternal error: unknown string type %dasn1: Unmarshal recipient value is nilurn:ietf:params:oauth:token-type:saml2GOOGLE_EXTERNAL_ACCOUNT_OUTPUT_FILE=%v(?i)^(center|justify|left|right|char)$tags are not sorted in ascending ordercrypto/sha512: invalid hash state sizereference to undefined group number %vmalformed \k<...> named back referenceinvalid P224 compressed point encodinginvalid P256 compressed point encodinginvalid P384 compressed point encodinginvalid P521 compressed point encodingbigmod: internal error: bad arithmeticGODEBUG sys/cpu: unknown cpu feature "TODO: unsupported vector instruction: TODO: unsupported atomic instruction: invalid float comparison condition: %smalformed DW_LNE_define_file operationProvisionedThroughputExceededExceptionportal.sso-fips.{region}.amazonaws.comportal.sso.cn-north-1.amazonaws.com.cnportal.sso-fips.{region}.sc2s.sgov.govportal.sso.us-gov-east-1.amazonaws.comportal.sso.us-gov-west-1.amazonaws.comOTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMITexit retry loop due to sleep error: %vno support for message_set_wire_format%v: unable to resolve extension %v: %vGRPC_EXPERIMENTAL_ENABLE_LEAST_REQUESTgob: unknown type id or corrupted datadecode: corrupted data: negative deltaempty name for remote field of type %sgob: DecodeValue of unassignable valuegrpc: the client connection is closingS2Av2 provided minVersion > maxVersiondeprecated_legacy_json_field_conflictstype mismatch: cannot convert %v to %sfound wrong type: got %v, want messageerror parsing config for policy %q: %vReceived SubConn state update: %p, %+vearlyAbortStream not handled on clientreceived GOAWAY with no active streamsname reference must be fully qualifiedinvalid field: no encoder for %v %v %vdns: error getting client hostname: %vinvalid octal escape code %q in stringexpected space in input to match formatmissing verb: % at end of format string2006-01-02 15:04:05.999999999 -0700 MSTCreated session for non-interactive runconfig file not found, creating new onecobra_annotation_bash_completion_custom    local_nonpersistent_flags+=("-%s")
invalid timer: fake time but no syncgroupunexpected character after quoted key: %qbytes.Buffer.WriteTo: invalid Write countbytes.Reader.WriteTo: invalid Write countcan't call pointer on a non-pointer Valuesync/atomic: swap of nil value into Value34694469519536141888238489627838134765625strconv: illegal AppendInt/FormatInt baseMapIter.Next called on exhausted iteratorreflect: FieldByIndex of non-struct type reflect: OverflowFloat of non-float type reflect.Value.Addr of unaddressable valueclone(CLONE_PIDFD) failed to return pidfdOpened key config file for initializationOpened TypeScript file for initializationGitHub Copilot Claude 3.7 Sonnet Thinkingmeta-llama/llama-4-scout-17b-16e-instructanthropic.claude-3-7-sonnet-20250219-v1:0could not parse SQL migration file %q: %wERROR %v: failed to run SQL migration: %wNo results found. Try a different query.

=== Try using the config file opencode.md reference suggests ===
opencode.md, OpenCode.md, or OPENCODE.md might be config files

=== Check if there's an opencode.json format ===
</style>GitHub token is required for Copilot provider. Set GITHUB_TOKEN environment variable, configure it in opencode.json, or ensure GitHub CLI/Copilot is properly authenticated.(?<=^|\b|\s)(?<keyword>(?:qq|q|Q))(?<adverbs>(?::?(?:heredoc|to|qq|ww|q|w|s|a|h|f|c|b|to|v|x))*)(?<ws>\s*)(?<opening_delimiters>(?<delimiter>[^0-9a-zA-Z:\s])\k<delimiter>*)-- +goose Up


I found it! From the README output:

```
## Configuration

OpenCode looks for configuration in the following locations:

- `$HOME/.opencode.json`
- `$XDG_CONFIG_HOME/opencode/.opencode.json`
- `./.opencode.json` (local directory)
```

And from the strings output, I can see it references `opencode.json` for configuration. Let me create the proper config file.

Found it! The config should be in `~/.opencode.json`. Let me create it with the correct format:

exec

# Create the correct opencode config file
mkdir -p ~/.config/opencode

# Create config in the correct location per the README
cat > ~/.opencode.json << 'EOF'
{
  "provider": "openai",
  "model": "qwen35-claude-reasoning",
  "baseURL": "http://localhost:9069/v1",
  "apiKey": "local"
}
EOF

echo "=== Config created ==="
cat ~/.opencode.json

echo ""
echo "=== Test with opencode ==="
export OPENAI_BASE_URL="http://localhost:9069/v1"
export OPENAI_API_KEY="local"

timeout 10 opencode -p "Respond with 'OK' if working" -q 2>&1 | head -20


=== Config created ===
{
  "provider": "openai",
  "model": "qwen35-claude-reasoning",
  "baseURL": "http://localhost:9069/v1",
  "apiKey": "local"
}

=== Test with opencode ===
Error: agent processing failed: failed to process events: POST "https://api.openai.com/v1/chat/completions": 401 Unauthorized {
        "message": "Incorrect API key provided: local. You can find your API key at https://platform.openai.com/account/api-keys.",
        "type": "invalid_request_error",
        "param": null,
        "code": "invalid_api_key"
    }
Usage:
  opencode [flags]

Examples:

  # Run in interactive mode
  opencode

  # Run with debug logging
  opencode -d

  # Run with debug logging in a specific directory
  opencode -d -c /path/to/project


The config file isn't being read. Let me try a different config format - maybe it uses different field names. Looking at the README again, it mentions the auto compact feature and other features, so this is definitely the right config format. Let me try with different field names that might be expected.

The config isn't being picked up. Let me try different config formats:

# Try different config formats

# Format 1: Just model and apiKey
cat > ~/.opencode.json << 'EOF'
{
  "model": "qwen35-claude-reasoning"
}
EOF

# Test
echo "=== Test format 1 ==="
timeout 10 opencode -p "Test" -q 2>&1 | head -5

# Format 2: Using apiBase instead of baseURL
cat > ~/.opencode.json << 'EOF'
{
  "model": "qwen35-claude-reasoning",
  "apiBase": "http://localhost:9069/v1",
  "apiKey": "local"
}
EOF

echo ""
echo "=== Test format 2 ==="
timeout 10 opencode -p "Test" -q 2>&1 | head -5

# Format 3: Using openai provider explicitly
cat > ~/.opencode.json << 'EOF'
{
  "provider": "openai",
  "model": "qwen35-claude-reasoning",
  "apiBase": "http://localhost:9069/v1"
}
EOF

echo ""
echo "=== Test format 3 ==="
timeout 10 opencode -p "Test" -q 2>&1 | head -5

# Format 4: Using baseUrl
cat > ~/.opencode.json << 'EOF'
{
  "model": "qwen35-claude-reasoning",
  "baseUrl": "http://localhost:9069/v1"
}
EOF

echo ""
echo "=== Test format 4 ==="
timeout 10 opencode -p "Test" -q 2>&1 | head -5


=== Test format 1 ===
Error: agent processing failed: failed to process events: Error 404, Message: models/gemini-2.5-pro-preview-05-06 is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods., Status: NOT_FOUND, Details: []
Usage:
  opencode [flags]

Examples:

=== Test format 2 ===
Error: agent processing failed: failed to process events: Error 404, Message: models/gemini-2.5-pro-preview-05-06 is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods., Status: NOT_FOUND, Details: []
Usage:
  opencode [flags]

Examples:

=== Test format 3 ===
Error: agent processing failed: failed to process events: Error 404, Message: models/gemini-2.5-pro-preview-05-06 is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods., Status: NOT_FOUND, Details: []
Usage:
  opencode [flags]

Examples:

=== Test format 4 ===
Error: agent processing failed: failed to process events: Error 404, Message: models/gemini-2.5-pro-preview-05-06 is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods., Status: NOT_FOUND, Details: []
Usage:
  opencode [flags]

Examples:


Interesting! Now the error changed - it's trying to use Gemini instead of OpenAI. This means the config IS being read, but the model name isn't being recognized. Let me check what model names are valid for opencode.

Good progress! The config is being read now. The issue is the model name. Let me check what model names are valid:

# Check what model names opencode expects
echo "=== Checking opencode model names ==="
strings /usr/local/bin/opencode | grep -i "model.*name\|model.*id\|claude\|qwen" | head -30

echo ""
echo "=== Test with just 'qwen35' ==="
cat > ~/.opencode.json << 'EOF'
{
  "model": "qwen35"
}
EOF
timeout 10 opencode -p "Test" -q 2>&1 | head -5

echo ""
echo "=== Test with 'qwen35-claude' ==="
cat > ~/.opencode.json << 'EOF'
{
  "model": "qwen35-claude"
}
EOF
timeout 10 opencode -p "Test" -q 2>&1 | head -5

echo ""
echo "=== Test with 'qwen35-claude-reasoning' ==="
cat > ~/.opencode.json << 'EOF'
{
  "model": "qwen35-claude-reasoning"
}
EOF
timeout 10 opencode -p "Test" -q 2>&1 | head -5


=== Checking opencode model names ===
*models.ModelID
*models.ModelProvider
setupModelsForProvider
*[]models.ModelProvider
*map[models.ModelProvider]int
 *map[models.ModelID]models.Model
"*func(models.ModelProvider) string
#*map.group[models.ModelProvider]int
	ModelName
json:"modelName,omitempty"
&*map.group[models.ModelID]models.Model
)*map[models.ModelProvider]config.Provider
.*struct { key models.ModelProvider; elem int }
/*map.group[models.ModelProvider]config.Provider
0*[]struct { key models.ModelProvider; elem int }
DeployedModelID json:"deployedModelId,omitempty"
1*struct { key models.ModelID; elem models.Model }
1*[8]struct { key models.ModelProvider; elem int }
3*[]struct { key models.ModelID; elem models.Model }
4*[8]struct { key models.ModelID; elem models.Model }
5*func(models.ModelProvider, models.ModelProvider) int
:*struct { key models.ModelProvider; elem config.Provider }
<*[]struct { key models.ModelProvider; elem config.Provider }
=*[8]struct { key models.ModelProvider; elem config.Provider }
=*func(config.AgentName, models.ModelID) (models.Model, error)
G*func(context.Context, string, models.Model, provider.TokenUsage) error
*struct { ID resp.Field; CreatedAt resp.Field; FineTunedModelCheckpoint resp.Field; FineTuningJobID resp.Field; Metrics resp.Field; Object resp.Field; StepNumber resp.Field; ExtraFields map[string]resp.Field; raw string }x
*go.shape.struct { ID string; Role github.com/opencode-ai/opencode/internal/message.MessageRole; SessionID string; Parts []github.com/opencode-ai/opencode/internal/message.ContentPart; Model github.com/opencode-ai/opencode/internal/llm/models.ModelID; CreatedAt int64; UpdatedAt int64 }
*pubsub.Event[go.shape.struct { ID string; Role github.com/opencode-ai/opencode/internal/message.MessageRole; SessionID string; Parts []github.com/opencode-ai/opencode/internal/message.ContentPart; Model github.com/opencode-ai/opencode/internal/llm/models.ModelID; CreatedAt int64; UpdatedAt int64 }]
*pubsub.Broker[go.shape.struct { ID string; Role github.com/opencode-ai/opencode/internal/message.MessageRole; SessionID string; Parts []github.com/opencode-ai/opencode/internal/message.ContentPart; Model github.com/opencode-ai/opencode/internal/llm/models.ModelID; CreatedAt int64; UpdatedAt int64 }]

=== Test with just 'qwen35' ===
Error: agent processing failed: failed to process events: Error 404, Message: models/gemini-2.5-pro-preview-05-06 is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods., Status: NOT_FOUND, Details: []
Usage:
  opencode [flags]

Examples:

=== Test with 'qwen35-claude' ===
Error: agent processing failed: failed to process events: Error 404, Message: models/gemini-2.5-pro-preview-05-06 is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods., Status: NOT_FOUND, Details: []
Usage:
  opencode [flags]

Examples:

=== Test with 'qwen35-claude-reasoning' ===
Error: agent processing failed: failed to process events: Error 404, Message: models/gemini-2.5-pro-preview-05-06 is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods., Status: NOT_FOUND, Details: []
Usage:
  opencode [flags]

Examples:


It's still trying to use Gemini. This suggests that opencode has a built-in list of providers and models, and my custom model name isn't being recognized. Let me check what providers and models opencode supports by default.

It's defaulting to Gemini. Let me check what providers and models opencode supports:

# Check what providers opencode supports
echo "=== Checking providers in opencode ==="
strings /usr/local/bin/opencode | grep -iE "openai|gemini|anthropic|provider" | grep -i "api\|url\|base" | head -20

echo ""
echo "=== Looking for provider config structure ==="
strings /usr/local/bin/opencode | grep -i "Provider.*Config\|provider.*config" | head -10

echo ""
echo "=== Try with 'openai' as provider and a standard model name ==="
cat > ~/.opencode.json << 'EOF'
{
  "provider": "openai",
  "model": "gpt-4o"
}
EOF
timeout 10 opencode -p "Test" -q 2>&1 | head -5

echo ""
echo "=== Try with 'openai' provider and baseURL ==="
cat > ~/.opencode.json << 'EOF'
{
  "provider": "openai",
  "model": "gpt-4o",
  "baseURL": "http://localhost:9069/v1"
}
EOF
timeout 10 opencode -p "Test" -q 2>&1 | head -5


=== Checking providers in opencode ===
*openai.ImageURL
*openai.ImageURLParam
*openai.ImageURLDelta
*openai.ImageURLDetail
*anthropic.BetaAPIError
*openai.ImageURLDeltaBlock
*config.apiOptionsProvider
*openai.ImageURLDeltaDetail
*anthropic.URLPDFSourceParam
*openai.ImageURLContentBlock
*func() openai.ImageURLParam
*config.baseEndpointProvider
*func() *openai.ImageURLParam
*anthropic.URLImageSourceParam
*func() anthropic.BetaAPIError
*anthropic.Base64PDFSourceParam
 *anthropic.BetaURLPDFSourceParam
!*anthropic.Base64ImageSourceParam
!*openai.ImageURLContentBlockParam
!*func() openai.ImageURLDeltaBlock

=== Looking for provider config structure ===
 hasSSOTokenProviderConfiguration
%validateSSOTokenProviderConfiguration
)*map[models.ModelProvider]config.Provider
/*map.group[models.ModelProvider]config.Provider
:*struct { key models.ModelProvider; elem config.Provider }
<*[]struct { key models.ModelProvider; elem config.Provider }
=*[8]struct { key models.ModelProvider; elem config.Provider }
*struct { F uintptr; X0 *int; X1 *provider.copilotClient; X2 context.Context; X3 *openai.ChatCompletionNewParams; X4 *config.Config; X5 string; X6 int; X7 chan provider.ProviderEvent }
Error accumulating messageprovider not supported: %sunexpected status code: %dError reading directory %sflag needs an argument: %sinvalid value; expected %sexpected integer; found %sexpected complex; found %stoo many slice indexes: %dnon-function %s of type %snon-comparable type %s: %vinvalid port %q after hostYCbCrSubsampleRatioUnknowninvalid argument to Int64Nunknown text edit type: %Thttp: invalid cookie valueread from empty dataBuffernet/http: request canceledstopped after 10 redirectsduplicate pseudo-header %qhttp2: Framer %p: wrote %vframe_windowupdate_bad_lenframe_priority_zero_streaminternal error: bad Writerhttp2: invalid Host headerduplicate wildcard name %qliterals differ: %q and %qmalformed HTTP status codeaddress type not supportedHTTP Version Not SupportedreadLoopPeekFailLocked: %w2006-01-02 15:04:05 -07:00bare " in non-quoted-fieldsqlite3_wal_autocheckpointsqlite3_result_error_nomemsqlite3_create_function_gosqlite3: unsupported valuesqlite3_column_origin_namesqlite3_value_numeric_typesqlite3: unknown operationsqlite3: constraint failedsqlite3: datatype mismatchfailed to write to buf: %winvalid argument to Int63ndata-converter-list-prefixcode_execution_tool_resultweb_search_result_locationmessage-batches-2024-09-24https://api.anthropic.com/2006-01-02 15:04:05.999999sources cannot contain nildidn't find any PEM blocksunexpected options type %TWorkloadIdentityCredentialResponse contained no bodyUsernamePasswordCredentialIDENTITY_SERVER_THUMBPRINTDEFAULT_IDENTITY_CLIENT_IDAZURE_FEDERATED_TOKEN_FILEthread.message.in_progressthread.run.requires_actionhttps://api.openai.com/v1/fine_tuning/jobs/%s/cancelfine_tuning/jobs/%s/events/openai/images/generations/openai/audio/translationsautomaticActivityDetectiontoolUsePromptTokensDetailsfeatureSelectionPreferencesupportedGenerationMethods{model}:batchEmbedContents{model}:predictLongRunningerror parsing MaxItems: %werror parsing MinItems: %w|%[[:xdigit:]][[:xdigit:]]unacceptable variable namecannot marshal DNS messagetoo many colons in addressAs4 called on IPv6 addressSRV header name is invalidunclosed criterion bracketcriterion lacks equal signunterminated quoted stringunexpected . after term %qpng: unsupported feature: invalid argument to Int31nunsupported emitter %T: %wbad certificate hash valueECDSA verification failure/etc/httpd/conf/mime.typesid (%v) <= evictCount (%v)malformed chunked encodinginvalid CR in chunked lineinvalid date-time timezoneunknown line break settingfound undefined tag handlewhile parsing a block nodeinvalid character sequencewhile scanning a directive_html_template_attrescaper_html_template_htmlescapertemplate escaped correctlyno templates in name spaceprefix length out of rangeenviron invalid: empty keyUnable to parse offset: %vUnable to parse length: %varithmetic-error-operationcompute-applicable-methodsfunction-lambda-expressionread-preserving-whitespacetranslate-logical-pathnameupgraded-complex-part-typecombine-after-change-callsdefine-obsolete-face-aliaswith-output-to-temp-bufferbool-vector-set-differencebuffer-chars-modified-tickdefine-coding-system-aliasequal-including-propertiesfield-string-no-propertiesframe-bottom-divider-widthinternal-lisp-face-empty-pinternal-lisp-face-equal-pmake-variable-buffer-localminibuffer-selected-windowother-window-for-scrollingprocess-filter-multibyte-pprocess-query-on-exit-flagread-non-nil-coding-systemreset-this-command-lengthsset-coding-system-priorityset-default-toplevel-valueset-network-process-optionwindow-configuration-framewindow-right-divider-widthtype-param-constraint-flag(\s)(~~[^~]+~~)((?=\W|\n))Metamodel::ConcreteRoleHOWMetamodel::MethodContainer^ *\.\..*(\n( +.*\n|\n)+)?^( *)(:.*?:)([ \t]+)(.*?)$(:[a-zA-Z0-9:-]+?:)(`.+?`)(#|/)(await|each|if|key)\bembedded/cassandra_cql.xmlembedded/desktop_entry.xmlembedded/systemverilog.xmldiff has overlapping edits-//ietf//dtd html strict//AWS_USE_DUALSTACK_ENDPOINTtoken file path is not setendpoint_discovery_enabledx509: malformed parametersx509: malformed extensionsunknown digest algorithm: fine_tuning.job.checkpointresponse.content_part.doneresponse.output_item.addedresponse.output_text.deltaauth.google.serviceAccountserver_no_context_takeoverclient_no_context_takeoverWarning: unhandled elementsegment prefix is reservedecdsa: invalid private keyed25519: bad seed length: crypto/rsa: missing primescrypto/rsa: prime P is nilcrypto/rsa: prime Q is nilcryptobyte: internal errormlkem: invalid seed lengthinline table is incompletei32.atomic.rmw16.cmpxchg_ui64.atomic.rmw16.cmpxchg_ui64.atomic.rmw32.cmpxchg_uunexpected GoFunc type: %TBUG: unknown value type %XoperationKindAtomicStore16%s.%s.%s (non_trapping=%v)compile function %d/%d: %vread offset expression: %vget the size of vector: %vget size of section %s: %vfailed to read %s size: %w/* %s */ .%schroma { %s }
^[0-9]+[\.]?[0-9]*(s|ms)?$border-bottom-right-radiustransition-timing-functionUnexpected ; character: %sccitt: missing End-of-Lineccitt: run length too longGRPC_GO_LOG_SEVERITY_LEVELgob: local interface type invalid ResourceSpans typeccBalancerWrapper: closingSubConn state is not Readyparsed dial target is: %#vHealth checking failed: %vgoogle.golang.org/genprotogoogle/protobuf/type.proto2006-01-02 15:04:05.000000the connection is drainingtransport closed by clientmalformed grpc-timeout: %vrequest is done processingDrain() is not implementedgrpc-previous-rpc-attempts2006/01/02 15:04:05.000000unexpected protobuf kind: "<max-log-depth-exceeded>"invalid nil source message^([-+._a-zA-Z0-9]{1,32}|.)subscription channel closedPanic details written to %sinput does not match formatos: unsupported signal typeos: process not initializedprogram experienced a panicerror restoring console: %werror entering raw mode: %wagent processing failed: %wfailed to open log file: %wopenrouter.claude-3.5-haikuproviders.openrouter.apiKeyset default model for agentfailed to open database: %wfailed to list messages: %wfailed to update config: %wunknown command %q for %q%s    flags_completion+=(%q)

=== Try with 'openai' as provider and a standard model name ===
Error: agent processing failed: failed to process events: Error 404, Message: models/gemini-2.5-pro-preview-05-06 is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods., Status: NOT_FOUND, Details: []
Usage:
  opencode [flags]

Examples:

=== Try with 'openai' provider and baseURL ===
Error: agent processing failed: failed to process events: Error 404, Message: models/gemini-2.5-pro-preview-05-06 is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods., Status: NOT_FOUND, Details: []
Usage:
  opencode [flags]

Examples:


It's still using Gemini. The config file doesn't seem to be working as expected. Let me check the opencode source code for the exact config format. Let me look at the GitHub repository for the config schema.

The config isn't being applied. Let me check the exact config format from the opencode source:

# Get the opencode config schema from GitHub
echo "=== Fetching opencode config schema ==="
curl -s https://raw.githubusercontent.com/opencode-ai/opencode/HEAD/internal/config/config.go 2>/dev/null | head -100

echo ""
echo "=== Alternative: Check if there's a CLI flag for model ==="
strings /usr/local/bin/opencode | grep -i "flag\|arg" | grep -i "model\|provider" | head -10