mirror of
https://github.com/gristlabs/grist-core.git
synced 2025-06-13 20:53:59 +00:00
Summary: If the longer OpenAI model exceeds the OpenAPI context length, we now perform another retry with a shorter variant of the formula prompt. The shorter prompt excludes non-referenced tables and lookup method definitions, which should help reduce token usage in documents with larger schemas. Test Plan: Server test. Reviewers: JakubSerafin Reviewed By: JakubSerafin Subscribers: JakubSerafin Differential Revision: https://phab.getgrist.com/D4184 |
||
|---|---|---|
| .. | ||
| lib | ||
| utils | ||
| Comm.ts | ||
| customUtil.ts | ||
| docTools.ts | ||
| generateInitialDocSql.ts | ||
| gristClient.ts | ||
| tcpForwarder.ts | ||
| testUtils.ts | ||
| wait.ts | ||