From 9e8a5481cf9aa4dfd75d5c55c003b3813ccbca1e Mon Sep 17 00:00:00 2001 From: sigoden Date: Fri, 3 Mar 2023 09:15:58 +0800 Subject: feat: support save chat messages to file --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index d5405de..d03b3ef 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ When starting for the first time, aichat will prompt to set `api_key`, after set ```toml api_key = "" # Request via https://platform.openai.com/account/api-keys temperature = 1.0 # optional, see https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature +save_path = "/tmp/AICHAT.md" # optional, Specify a file path to save chat messages to proxy = "socks5://127.0.0.1:1080" # optional, set proxy server. e.g. http://127.0.0.1:8080 or socks5://127.0.0.1:1080 ``` @@ -53,6 +54,7 @@ In interactive mode, we do this: ``` 〉.role javascript-console + 〉console.log("Hello world") ``` -- cgit v1.2.3