Skip to content

Commit

Permalink
build: version 116
Browse files Browse the repository at this point in the history
  • Loading branch information
nalgeon committed Apr 8, 2023
1 parent 63bb060 commit 48f1d11
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
### v116 - 2023-04-08

- Relaxed image size parsing ([#13](https://github.com/nalgeon/pokitoki/issues/13)).
- Allow shortcuts without prompt.
- Show shortcuts in help.
- Changed config file access mode from read-only to read-write.
- Nested config properties.

### v104 - 2023-04-06

- Count question length in tokens instead of characters (#12).
- Count question length in tokens instead of characters ([#12](https://github.com/nalgeon/pokitoki/issues/12)).
- Truncate questions that exceed the maximum number of tokens allowed by ChatGPT.

### v99 - 2023-04-06

- [Image generation](https://github.com/nalgeon/pokitoki#image-generation) via DALL-E 2.
- [Image generation](https://github.com/nalgeon/pokitoki#image-generation) via DALL-E ([#13](https://github.com/nalgeon/pokitoki/issues/13)).

### v93 - 2023-04-04

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The bot acts as your personal assistant:

<img src="docs/chat-1.png" alt="Sample chat" width="400">

To allow other users to use the bot, list them in the `telegram_usernames` config property.
To allow other users to use the bot, list them in the `telegram.usernames` config property.

The bot has a terrible memory, so don't expect it to remember any chat context by default. You can, however, reply with a follow-up question (`Ctrl/Cmd + ↑`). Alternatively, use a plus sign to follow up:

Expand Down Expand Up @@ -58,7 +58,7 @@ To get an answer from the bot in a group, mention it in a reply to a question, o
</tr>
</table>

To make the bot reply to group members, list the group id in the `telegram_chat_ids` config property. Otherwise, the bot will ignore questions from group members unless they are listed in the `telegram_usernames` config property.
To make the bot reply to group members, list the group id in the `telegram.chat_ids` config property. Otherwise, the bot will ignore questions from group members unless they are listed in the `telegram.usernames` config property.

If you don't know the group id, run the `/version` bot command in a group to find it:

Expand Down
2 changes: 1 addition & 1 deletion bot/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class OpenAI:
_config = load(filename)

# Bot version.
version = 104
version = 116

# Telegram settings.
telegram = Telegram(
Expand Down

0 comments on commit 48f1d11

Please sign in to comment.