Repository navigation
Flagwake 0.5.2
No change to incidents, scores or verification: the generator version, the rules hash and the
golden fingerprint are unchanged, and every earlier report verifies as before. This release
is about connecting any model through any provider, and saying plainly what went wrong when
a connection does not work.
- Why a reply held no command, for any provider. A failed call is now written with the
provider's own message, for example(model call failed: HTTP 404: The model ... does not exist), with anything shaped like a key masked. A reply without a command says why when the
endpoint said: cut off by the reply limit, blocked by a content filter, or refused by the model.
Otherwise it shows the start of what the model wrote, for example(no command in the model reply: answered "I would first look around."), or says it was an empty reply. The page shows
those words, so anyone can see whether the model or the reading of its reply is at fault. - A command written as JSON is read. A reply such as
{"cmd": "logs web-01"}(also
command,actionornext_command, with or without a code fence) counts as that command. - One diagnosis everywhere. The connection check, the page, the result summaries and
flagwake doctorread those lines the same way. They name the cause (quota or rate limit, key,
unknown model, rejected request, provider error, timeout, unreachable address, reply limit,
content filter, refusal, or a reply that is not a command) and its fix. Before, a provider's
quota running out during the connection check was reported as the model sending commands it
is not allowed to use. - Common API differences are handled once, by themselves. If an endpoint wants
max_completion_tokensinstead ofmax_tokens, refusestemperature: 0, or allows a smaller
reply limit, the reference model agent changes that one setting for the rest of the incident
and says so inagent-stderr.log. If the longer try after a cut-off reply is rejected, the
reply counts as cut off, not as a failed call. flagwake doctortreats every model and computer the same. Each test incident gets up to
3 minutes (it was 15 seconds, sized from one tiny first call), with a line after each one. A
slow model gets a warning with an estimate of how long a run takes, not a false "too slow"
failure. Doctor also warns when the provider limits the rate, quotes the provider on HTTP 429,
404 and 400, and explains an empty first reply.- The page says Flagwake is not running any more, instead of the browser's "Failed to fetch",
and its model settings take a pace (requests per minute), asflagwake.yamland--rpmdo,
for a plan with a rate limit. python -m cyberarenaruns theflagwakecommand where its script is not on PATH.- A connection check that allows an occasional slip, the same for every model: one reply
in twenty that is not a command, a few calls the provider refused or dropped, or one of the
three test incidents not closed with a report. Each slip is still listed; a run counts them
against the defender anyway. Before, a single stray reply failed the check. - The connection check stops early on a failure that will not go away: a model the
provider does not know, a refused key, an address that cannot be reached, or a quota whose
wait is counted in hours. It stops after its first test incident, a handful of calls instead
of dozens, and says why; a passing hiccup does not stop it. - One pace across a run. With a pace set, every incident (a new program each time) keeps
the same pace through a small shared file in the temporary folder. Before, the first
requests of each incident came without waiting, and a free tier's per-minute limit refused
some of them. - The wait a provider asked for is written in a refused call's line, and the diagnosis
tells a per-minute limit (seconds) from a daily quota (hours). The provider's message is
kept up to 240 characters. - The result page splits calls the provider refused or dropped from replies that were not
commands, and the check page shows the model settings saved with the defender. - docs/TRY_YOUR_AGENT.md has a section on a model that does not connect.
pip install -U flagwake
flagwake doctorFull history: CHANGELOG.md.