LLM/jrswab axe: Difference between revisions
< LLM
Jump to navigation
Jump to search
(Created page with "== What's that? == Official Site: https://github.com/jrswab/axe == Installation (PowerShell 7) == === Install === <syntaxhighlight lang="bash"> Set config dir first for NAS auto backup. </syntaxhighlight> <syntaxhighlight lang="bash"> go install github.com/jrswab/axe@latest axe config init </syntaxhighlight> === Set VSCode as Editor for axe === Set environment variable '''EDITOR''' as %USERPROFILE%\AppData\Local\Programs\Microsoft VS Code\Code.exe Reopen PowerSh...") |
|||
| Line 6: | Line 6: | ||
=== Install === | === Install === | ||
Set config dir first for NAS auto backup. | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
[System.Environment]::SetEnvironmentVariable('XDG_CONFIG_HOME', "$HOME\Documents\SynologyDrive\11.Environments", 'User') | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Reopen Power Shell to take effect. | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Revision as of 14:32, 21 July 2026
What's that?
Official Site: https://github.com/jrswab/axe
Installation (PowerShell 7)
Install
Set config dir first for NAS auto backup.
[System.Environment]::SetEnvironmentVariable('XDG_CONFIG_HOME', "$HOME\Documents\SynologyDrive\11.Environments", 'User')
Reopen Power Shell to take effect.
go install github.com/jrswab/axe@latest
axe config init
Set VSCode as Editor for axe
Set environment variable EDITOR as
%USERPROFILE%\AppData\Local\Programs\Microsoft VS Code\Code.exe
Reopen PowerShell and execute to verify.
# Varify environment variable
Get-ChildItem Env:EDITOR
Set provider for local model
Then edit config.yoml.
ii $HOME\AppData\Roaming\axe\config.toml
It would be opened by VSCode. Edit section providers.openai.
[providers.openai]
api_key = "sk-no-such-key"
base_url = "http://192.168.23.xx:9004/v1"
Setup Agent
Add agent
axe agents init query
axe agents edit query
model = "openai/google/gemma-4-E4B-qat-a4_0-gguf"
Test agent
axe run query -p "1+1=?"
If it outputs 2, axe is ready to use.