approvers / approvers/ichiyoAI

ユーザーごとのRateLimitを設ける

Open
#70 1 comment 0 reactions 0 assignees View on GitHub
bot enhancement
Dominant language
Rust
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Description

# 概要

同一のdiscordIDから送信されるクエリに対して、一定時間あたりの回数制限を設ける。規定の回数を超えた場合には、その旨を返信する。

# 目的

- 同一のユーザーによるクエリへの回答でチャットが流れるのを防ぐため。
- 同一のユーザーがコンテキストを占有することを防ぐため。

# 議論

- GPT-4の利用権限を持つユーザーに関しても、RateLimitを設けるか?
- そもそもRateLimitという手段はこの課題解決に妥当か?

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are identified in the issue. First resolve the unanswered questions about the rate-limit policy and whether this approach is appropriate; completion would require an agreed scope and a defined response when a user exceeds the limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.