Repository navigation
fix(archivist): let the family retry a filing the AI could not classify - #170
Merged
Merged
Conversation
When the AI server failed, the filing reply told the family to set up AI with `./stack up ai`, which is wrong on a stack that uses a server elsewhere. It also carried no filing envelope, so a reply in its thread was taken as a search, and the error itself was never logged. The reply now says the AI could not read the document and that a reply in the thread tries again. It carries the filing's envelope, so that reply reclassifies the document. The classifier's error is logged with the document id.
With nothing recorded in the memories room yet, the diary published its empty page and returned without the `--json` report. The archivist posts cards from that report and took its absence for a failed compile, so every fresh install logged `diary job: compile failed rc=0` until the family recorded something. An empty room now reports no cards.
`./stack ai switch managed --model <id>` wrote the model only after `./stack up ai` had installed the engine, and the install downloads the model `[ai] default` names at that moment. After a switch from another server that was the other server's model id, which the install could not download. The model is now written before the engine comes up, and put back with the rest of `[ai]` when that fails. The command also prints its report without a terminal, so an admin over ssh sees what it did.
The installer's closing screen is product text and follows the project's writing rule.
An answer's evidence lines joined the title and its details with an em dash. They use the middle dot the details already use.
Files were copied to the instance's Mac as `driver-<time>-<name>` and posted under that name, so a filing without a title showed the driver's name instead of the file's, unlike an upload from a phone.
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.
Summary
./stack up aion a stack that uses a server elsewhere../stack ai switch managed --model <id>installs that model;ai switchprints its report over ssh.