Steps to reproduce:
1) Write a prompt X, it would have length = 1
2) Change it to (X) – it is still 1
3) Retry with merge expression: <'X'>, it is correctly 1
4) Change to (<'X'>) – it shows 2, while it should be still 1
I'll try to fix this by creating another empty type of ephemeral embeddings on the fly and caching it, then call WebUI to count everything as it should be done in the first place.
Steps to reproduce: 1) Write a prompt
X
, it would have length = 1 2) Change it to(X)
– it is still 1 3) Retry with merge expression:<'X'>
, it is correctly 1 4) Change to(<'X'>)
– it shows 2, while it should be still 1I'll try to fix this by creating another empty type of ephemeral embeddings on the fly and caching it, then call WebUI to count everything as it should be done in the first place.