improve model picker for openrouter
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "better-clawd",
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.6",
|
||||
"description": "Claude Code, but better.",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
@@ -53,7 +53,7 @@
|
||||
"cli-highlight": "^2.1.0",
|
||||
"code-excerpt": "^4.0.0",
|
||||
"commander": "^12.0.0",
|
||||
"diff": "^7.0.0",
|
||||
"diff": "^8.0.4",
|
||||
"emoji-regex": "^10.4.0",
|
||||
"env-paths": "^3.0.0",
|
||||
"execa": "^9.5.0",
|
||||
|
||||
@@ -100,7 +100,7 @@ function ModelPickerWrapper(t0) {
|
||||
}
|
||||
let t4;
|
||||
if ($[11] !== handleCancel || $[12] !== handleSelect || $[13] !== mainLoopModel || $[14] !== mainLoopModelForSession || $[15] !== t3) {
|
||||
t4 = <ModelPicker initial={mainLoopModel} sessionModel={mainLoopModelForSession} onSelect={handleSelect} onCancel={handleCancel} isStandaloneCommand={true} showFastModeNotice={t3} />;
|
||||
t4 = <ModelPicker initial={mainLoopModel} sessionModel={mainLoopModelForSession} onSelect={handleSelect} onCancel={handleCancel} isStandaloneCommand={true} showFastModeNotice={t3} allowCustomOpenRouterModelInput={true} />;
|
||||
$[11] = handleCancel;
|
||||
$[12] = handleSelect;
|
||||
$[13] = mainLoopModel;
|
||||
@@ -277,7 +277,7 @@ export const call: LocalJSXCommandCall = async (onDone, _context, args) => {
|
||||
return <ShowModelAndClose onDone={onDone} />;
|
||||
}
|
||||
if (COMMON_HELP_ARGS.includes(args)) {
|
||||
onDone('Run /model to open the model selection menu, or /model [modelName] to set the model.', {
|
||||
onDone('Run /model to open the model selection menu, or /model [modelName] to set the model. OpenRouter users can also enter an exact model ID directly in the menu.', {
|
||||
display: 'system'
|
||||
});
|
||||
return;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user