mirror of
https://github.com/Fade78/Fileshed.git
synced 2026-05-01 21:10:19 +00:00
Fix shed_help to return normal help when howto is empty string
When LLM passes howto="" instead of omitting the parameter, treat it as a request for normal help instead of an unknown howto error. https://claude.ai/code/session_01DLaRR2nnTryPWd2p7MyUtf
This commit is contained in:
parent
2f57d7f81f
commit
7dc71daa88
1 changed files with 2 additions and 2 deletions
|
|
@ -7155,8 +7155,8 @@ class Tools:
|
|||
# List of available howtos
|
||||
available_howtos = list(self._core.HOWTO_GUIDES.keys()) + ["full"]
|
||||
|
||||
# No argument: return quick help + howto list
|
||||
if howto is None:
|
||||
# No argument (or empty string): return quick help + howto list
|
||||
if not howto:
|
||||
help_text = """# 🛖 Fileshed - Quick Reference
|
||||
|
||||
## 🔥 WORKFLOWS (choose one!)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue