Konstantin Tretyakov
Konstantin Tretyakov
There is no simple solution apart from inventing a new layout algorithm, which hasn't happened so far :) There is a workaround, though - you may artificially inflate the intersection...
Version 1.1.0 (commit b9a34b084a07c361cce9dadd70d580ae8ddf1b34) introduces a new layout algorithm that should be capable of handling some of these corner cases better than the default one.
Yeah, it was intentional because (as far as I remember now) I was relying on some specs which claimed the respective fields must have that and that many characters while...
Another possibly related observation - the first log message after deployment is: /var/task/_vendor/md2tgmd.py:56: SyntaxWarning: invalid escape sequence '\_' text = re.sub(r"_", '\_', text) The bot does respond correctly on commands...
So I think I managed to fix those by moving to a newer google.genai library (and fighting a bit with dependency versions). Pushed the fixes to [my fork](https://github.com/konstantint/tg-gemini-bot). I added...