[GH-ISSUE #543] Can we add OpenCode config.jsonc to docs? #256

Closed
opened 2026-11-04 01:41:22 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @frederikhors on GitHub (Oct 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/543

This project is amazing!

Can I ask you to publish in the AMAZING docs files an OpenCode config.jsonc?

So we can understand better how to configure thinking levels and other parameters accordingly?

Thanks!

Originally created by @frederikhors on GitHub (Oct 2, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/543 **This project is amazing!** Can I ask you to publish in the AMAZING docs files an OpenCode `config.jsonc`? So we can understand better how to configure thinking levels and other parameters accordingly? Thanks!
Author
Owner

@Niko1221 commented on GitHub (Oct 3, 2026):

Thanks! Added for 0.1.38: docs/DETAILS.md has an OpenCode opencode.jsonc example. It covers the provider, the context and output limits, the thinking level (reasoningEffort, sent as reasoning_effort) as a default and as variants you can switch between, plus how fit_max_tokens and reasoning_budget_tokens fit in. If something in it doesn't match your OpenCode version, please say so.

<!-- gh-comment-id:5964029873 --> @Niko1221 commented on GitHub (Oct 3, 2026): Thanks! **Added for 0.1.38**: docs/DETAILS.md has an OpenCode `opencode.jsonc` example. It covers the provider, the context and output limits, the thinking level (`reasoningEffort`, sent as `reasoning_effort`) as a default and as variants you can switch between, plus how `fit_max_tokens` and `reasoning_budget_tokens` fit in. If something in it doesn't match your OpenCode version, please say so.
Author
Owner

@frederikhors commented on GitHub (Oct 3, 2026):

This config is invalid for OpenCode 2, I think.

<!-- gh-comment-id:5969716848 --> @frederikhors commented on GitHub (Oct 3, 2026): This config is invalid for OpenCode 2, I think.
Author
Owner

@frederikhors commented on GitHub (Oct 3, 2026):

Can you re-open this?

<!-- gh-comment-id:5969720196 --> @frederikhors commented on GitHub (Oct 3, 2026): Can you re-open this?
Author
Owner

@frederikhors commented on GitHub (Oct 3, 2026):

I think this is ok for opencode 2, but I do not know if "high" is present in these models.

"strata": {
    "name": "strata",
    "limit": {
        "context": 131072,
        "output": 32000
    },
    "capabilities": {
        "tools": true,
        "input": [
            "text"
        ],
        "output": [
            "text"
        ]
    },
    "compatibility": {
        "reasoningField": "reasoning"
    },
    "settings": {
        "reasoningEffort": "high",
    },
    "variants": [
        {
            "id": "none",
            "settings": {
                "reasoningEffort": "none",
            },
        },
        {
            "id": "low",
            "settings": {
                "reasoningEffort": "low",
            },
        },
        {
            "id": "medium",
            "settings": {
                "reasoningEffort": "medium",
            },
        },
        {
            "id": "high",
            "settings": {
                "reasoningEffort": "high",
            },
        },
    ]
}
<!-- gh-comment-id:5971038064 --> @frederikhors commented on GitHub (Oct 3, 2026): I think this is ok for opencode 2, but I do not know if "high" is present in these models. ```json "strata": { "name": "strata", "limit": { "context": 131072, "output": 32000 }, "capabilities": { "tools": true, "input": [ "text" ], "output": [ "text" ] }, "compatibility": { "reasoningField": "reasoning" }, "settings": { "reasoningEffort": "high", }, "variants": [ { "id": "none", "settings": { "reasoningEffort": "none", }, }, { "id": "low", "settings": { "reasoningEffort": "low", }, }, { "id": "medium", "settings": { "reasoningEffort": "medium", }, }, { "id": "high", "settings": { "reasoningEffort": "high", }, }, ] } ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#256
No description provided.