Repository navigation
Update Models Dialog to Single List with Recently Used - #563
Conversation
|
@adamdotdevin this is a prototype for the reworked models dialog. I think it's good enough to play with it and get a feel for whether it's the right direction. What I didn't get working is the second sort by release date. How do I get this info in the Go part? Do you have to update that in the |
e4f982c to
7660239
Compare
|
@adamdotdevin I updated the PR to sort by the new |
|
But I'm not sure I like the sorting. Seems a bit "wild" and hard to find stuff when you don't have recents, don't you think? 🤔 |
will check first thing tomorrow morning! |
|
great work man, personally love the sorting; in reality, only the most recent models are very effective in these agentic coding assistant roles, so i think the cream rises with release date sorting. going to go ahead and merge, this is so much better than the current state. |
Root cause: On macOS, GUI applications don't inherit shell profile modifications (.zshrc, .bashrc). When OpenWork spawns the opencode engine, the PATH doesn't include paths like /opt/homebrew/bin where Homebrew-installed tools like npx reside. The fix (packages/desktop/src-tauri/src/paths.rs): Added a common_tool_paths() function that returns typical locations where user-installed tools are found: - macOS: /opt/homebrew/bin, /usr/local/bin, ~/.nvm/current/bin, ~/.volta/bin, ~/.bun/bin, ~/.cargo/bin, etc. - Linux: Similar paths adapted for Linux conventions - Windows: volta, pnpm, cargo, npm global paths These paths are now prepended to the PATH environment variable when spawning processes. To test the fix: Build and run the app, then try enabling your Playwright MCP server - it should now find npx correctly without needing to specify the full path.
This PR reworks the models dialog as suggested in #541: