ollama tests
This commit is contained in:
parent
46380684ee
commit
750fa01050
34
packages/kbot/scripts/ollama/bugs.md
Normal file
34
packages/kbot/scripts/ollama/bugs.md
Normal file
@ -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
|
||||
|
||||
|
||||
10
packages/kbot/scripts/ollama/test-bugs.sh
Normal file
10
packages/kbot/scripts/ollama/test-bugs.sh
Normal file
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user