mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Add AI assistant usage banners
Summary: Banners are now shown when there are low or no AI assistant credits remaining. Test Plan: Browser tests. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D4018
This commit is contained in:
@@ -55,4 +55,10 @@ export interface AssistanceResponse {
|
||||
// If the model can be trusted to issue a self-contained
|
||||
// markdown-friendly string, it can be included here.
|
||||
reply?: string;
|
||||
limit?: AssistanceLimit;
|
||||
}
|
||||
|
||||
export interface AssistanceLimit {
|
||||
usage: number;
|
||||
limit: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user