Skip to content

Releases: elsejj/gpt

v0.2.12

15 Nov 08:53

Choose a tag to compare

Added

  • Tool now 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 or output
    • copy: copy the content to clipboard, let action to be copy
    • save: save the content to a file, let action be any file name
    • execute:
      • when action is execute, run, or exec, 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 is hello, then the command executed will be echo "hello".
    • 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 execute ls -a command directly.
  • -t or --tool option to specify a tool file to use. -T is changed to set temperature.

v0.2.11

31 Oct 06:21

Choose a tag to compare

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

26 Oct 12:13

Choose a tag to compare

Added

  • Added reasonEffort configuration to control how llm generate response

v0.2.9

15 Oct 07:51

Choose a tag to compare

Changed

  • Upgraded the openai SDK to v3.
  • Improved changelog format.

v0.2.8

25 Sep 10:47

Choose a tag to compare

v0.2.8

v0.2.7

15 Aug 06:40

Choose a tag to compare

feat: add ProxyMCPClient to proxy HTTP services as MCP services and u…

v0.2.6

13 Aug 10:19

Choose a tag to compare

chore: update changelog for v0.2.6 and bump version to v0.2.6

v0.2.5

03 Jun 05:40

Choose a tag to compare

v0.2.5

v0.2.4

28 Mar 11:45

Choose a tag to compare

fix no mcp

v0.2.3

22 Mar 10:37

Choose a tag to compare

bump version 0.2.3