Skip to content

Inconsistent behaviour of max_len and length in Interaction #137

@mbaroni

Description

@mbaroni

max_len sets max length without considering the extra mandatory EOS at the end, however the length field in the Interaction object stores average length considering EOS. Consequently, if messages are always of maximum length, we have a somewhat surprising behaviour in which given max_len==N, the average length in the length field might be N+1

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions