luxe 0.1.4: remembered models, wheel-driven lists, and a steadier phone app

- luxe starts on the model you last chose in this project, then the last one anywhere. Signing in
  opens the model picker instead of choosing for you.
- Every list in a modal takes the mouse wheel and a draggable scrollbar.
- The phone app shows reasoning in full, stays put while you read back through a long session, and
  shows a question's answer on its card.
- On Windows, luxe update replaces the running luxe, and a signed-in install no longer sees setup
  again.
- The file tree no longer shows "engine busy" in a large project, loop output is easier to follow,
  and the name is written lowercase.

The CHANGELOG has the full list.
This commit is contained in:
Evan Whittaker
2026-10-20 13:51:34 -05:00
parent 6184aa21fb
commit a0666d6c81
591 changed files with 4926 additions and 2942 deletions

View File

@@ -4,7 +4,7 @@
//! three of the keys a typical one names (`top_k`, `min_p`, `repeat_penalty`) have no field in the
//! OpenAI wire schema. Worse, the defaults are not neutral: llama.cpp's `min_p` is `0.05`, so a
//! request that simply omits it runs the model off-spec on every turn. So the map is passthrough,
//! not a modelled set of options — Luxe carries whatever the server understands and validates none
//! not a modelled set of options — luxe carries whatever the server understands and validates none
//! of it.
//!
//! OpenAI-shaped bodies only. Anthropic has no equivalent surface and ignores it.
@@ -21,7 +21,7 @@ const RESERVED: [&str; 5] = ["model", "messages", "input", "stream", "tools"];
///
/// Called after every field the adapter sets itself — `temperature`, the output cap, the thinking
/// payload — which is the whole point: a model card's recipe is the final word on how that model
/// is sampled, and a key here beats whatever Luxe would otherwise have sent.
/// is sampled, and a key here beats whatever luxe would otherwise have sent.
pub(crate) fn apply(body: &mut Value, params: &Map<String, Value>) {
if params.is_empty() {
return;
@@ -60,7 +60,7 @@ mod tests {
})),
);
assert_eq!(body["temperature"], 1.0, "the recipe outranks what Luxe set");
assert_eq!(body["temperature"], 1.0, "the recipe outranks what luxe set");
assert_eq!(body["top_k"], 20);
assert_eq!(body["min_p"], 0.0);
assert_eq!(body["repeat_penalty"], 1.0);