生成错误 TOKEN_LIMIT_ERROR

在使用 Alma 生成内容时,遇到 TOKEN_LIMIT_ERROR 错误,提示生成错误。

这通常发生在对话上下文较长、或单次生成内容超出模型 token 上限时。当前错误提示信息过于简略,用户无法判断是上下文过长还是其他原因。

建议优化:

  • 优化错误提示文案,例如提示上下文过长,请新建对话重试或单次生成内容超出限制,请缩短输入

  • 提供自动截断上下文或分片生成的机制

  • 在设置中显示当前对话已用 token 数 / 上限

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
💡

Feature Request

Date

About 1 hour ago

Author

less ismore

Subscribe to post

Get notified by email when there are changes.