Releases: elsejj/gpt
Releases · elsejj/gpt
v0.2.12
Added
Toolnow supports an post action, which can be used to execute some after llm response is generated. There are following actions supported:output: output the content to stdout (default), let action be empty oroutputcopy: copy the content to clipboard, let action to becopysave: save the content to a file, let action be any file nameexecute:- when action is
execute,run, orexec, the content will be treated as a shell command and executed directly. - when action is a non-empty string other than above, it will be treated as a shell command template, and the content will be passed as argument to the command. For example, if action is
echo, and content ishello, then the command executed will beecho "hello".
- when action is
- see
- tr.toml : a translation tool that copy the translation result to clipboard.
gpt -t tr "Hello, how are you?"will copy你好,你好吗?to clipboard - pa.toml : a command assistant that build shell command from user input and execute it directly.
gpt -t pa "list all files in current directory"will executels -acommand directly.
- tr.toml : a translation tool that copy the translation result to clipboard.
-tor--tooloption to specify a tool file to use.-Tis changed to set temperature.
v0.2.11
Added
- Add '--tool' '-T' option to enable a tool use mode.
Tool is a pre-defined system prompt, model, and other configurations to do specific tasks. see Tool for more details.
A example tool 'tr' is located at tr.toml, which translate between chinese and english, you can use it like:
gpt -T samples/tools/tr.toml "Hello, how are you?"This will output the translation result, 你好,你好吗?
the samples/tools/tr.toml can be copied to $HOME/.gpt/tools/tr.toml, then you can use it like:
gpt -T tr "Hello, how are you?"v0.2.10
Added
- Added
reasonEffortconfiguration to control how llm generate response
v0.2.9
Changed
- Upgraded the
openaiSDK to v3. - Improved changelog format.
v0.2.8
v0.2.8
v0.2.7
feat: add ProxyMCPClient to proxy HTTP services as MCP services and u…
v0.2.6
chore: update changelog for v0.2.6 and bump version to v0.2.6
v0.2.5
v0.2.5
v0.2.4
fix no mcp
v0.2.3
bump version 0.2.3