You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Language models: set everything from the shell or R
A stored hosted key is used even when a local Ollama server is running with no model pulled. The automatic route used to stop at that empty server ("local Ollama has no model to use"), so a user who had logged in, and whose doctor listed every hosted model, could not reach any of them. An empty Ollama is now passed over unless OLLAMA_MODEL is set or the Ollama route is asked for.
bricklayer_llm_config() and rmbl config show and save every language-model setting: the route ask takes (auto, own, ollama, hosted) and the address, key and model of your own server, of Ollama and of the hosted tier. rmbl config setup walks through them. Settings are saved in ~/.config/morie/llm.json (mode 0600); an environment variable that is set still wins.
rmbl ask --route ROUTE picks the route for one call.
rmbl doctor ends with the route and model ask will use, and how to change it.
rmbl help is a guide: the verbs by area, and help start, help llm, help config and help r pages with examples. Error messages name the config command that fixes them.
The table list reads left to right
rmbl data list and printing bricklayer_data_tables() in R show one line per table: the key, the row count and the name, left-aligned and cut to the terminal or console width. They went through print.data.frame, which right-aligned the names and, once the descriptions made a line wider than the terminal, printed every key, then every name, then every row count and source as separate blocks. bricklayer_data_tables() still returns the full data frame (with source); only its printing changed.
A table whose manifest entry has a blank description and source (the otis tables) is named by its key instead of by an empty string.
The smoke suite (inst/smoke/smoke.R) prints a failing case's message in full. It cut them at 400 characters, which shortened "https://rmorie.com/access" in the no-route message of ask to "https://rmorie.co".