Repository navigation
Skill API reference: a task's own reasoning level, and sharing a session by link - #3
Open
eric-epsilla wants to merge 1 commit into
Open
eric-epsilla wants to merge 1 commit into
eric-epsilla wants to merge 1 commit into
Conversation
…ion by link
Builders work from the Skill, not the protocol, and two things the service already serves were
missing from it. reasoning_effort was listed only among a Harness's fields, so a team concluded a
task could not set its own level and kept two Harnesses for a quick and a thorough mode. And no
session endpoint said a session can be published as a read-only link.
The task table gains `reasoning` ({"effort": level}, wins over the Harness's), with the levels and
where a model's own list is read. The response notes say what `reasoning` holds, including
`applied: "default"`. A new section documents POST /v1/sessions/{id}/share: the share object, taking
it back with {"enabled": false}, that `url` is a path on the console's address, and that the link
shows the whole conversation and every file.
tests/test_cloud_scope.py checks both stay; it fails on main.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
@richard-epsilla, this one is documentation only, for two features the service already serves. Problem. A task's own reasoning level and session sharing are both live, but the Skill names neither. Builders conclude these don't exist. Approach. I added one row to the task table, one note on the response, and one endpoint section, using the shapes the service answers today. What I'd like from you:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Builders work from the Skill, not the protocol. Two things the service already serves are missing from it:
reasoning_effortappears only among a Harness's fields. A reader concludes a task cannot set its own level, and keeps two Harnesses to offer a "quick" and a "thorough" mode.Change
references/api-reference.md:reasoning: {"effort": "<level>"}wins over the Harness'sreasoning_effort.none,minimal,low,medium,high,xhigh; any other value is400.reasoninginGET /v1/bases. A model with an empty list takes no level.reasoningisnullwhen no level was asked.{"effort", "applied"};applied: "default"means the level was not applied.POST /v1/sessions/{session_id}/share:{"enabled": false}takes it back, and the link then answers404;urlis a path on the console's address, and the API host answers the same path with JSON;The page address is written as "the console's address" rather than a host, because
test_skill_is_self_containedallows only the API host.tests/test_cloud_scope.py: checks that both stay. It fails on main.Verification
python3 -m unittest discover -s tests -p 'test_*.py': 45 tests, OK (1 skipped).404for an unknown token). The field shapes match the service's code.🤖 Generated with Claude Code