diff --git a/packages/kbot/scripts/ollama/bugs.md b/packages/kbot/scripts/ollama/bugs.md new file mode 100644 index 00000000..e5ca02ca --- /dev/null +++ b/packages/kbot/scripts/ollama/bugs.md @@ -0,0 +1,34 @@ +# Context + +- ESP-32, Platform.io, C17 + +Create a brief report for potential bugs, leaks or race coditions + +Ignore: enums.h, Components.h, config.h + +Ignore kind of issues : null pointer checks, thread safety, uninitialized pins, and any other overkill checks:) + +Layout / Content : + + +## File Name + +**Path** : relative path (markdown link) + +### Issues Summary + +Table of issues : severity, function, quick solution + +### Issues + +### Name of the issue + +- location of function code + +the code + +#### Potential solutions + +...code + + diff --git a/packages/kbot/scripts/ollama/test-bugs.sh b/packages/kbot/scripts/ollama/test-bugs.sh new file mode 100644 index 00000000..ffc7c857 --- /dev/null +++ b/packages/kbot/scripts/ollama/test-bugs.sh @@ -0,0 +1,10 @@ +kbot-d.cmd --router=ollama \ +--model=qwen2.5-coder:latest \ +--mode=completion \ +--baseURL=http://localhost:11434/v1 \ +--prompt=./scripts/ollama/bugs.md \ +--each=./src/web/*.ts \ +--wrap=meta \ +--preferences=none \ +--filters=code +