Italian locale shows "Durata ragionamento: sconosciuta" during reasoning

Open Beginner friendly
#199 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
typescript

Research direction

Reproduce the issue using chatkit.setOptions with locale: 'it', then compare the Italian and English reasoning-duration handling before the first token is rendered. Done means no duration label appears while the elapsed time is unknown, while the elapsed time still appears after the first token.

Written by the indexing model from the issue text.

Description

When locale is set to 'it', a label reading "Durata ragionamento: sconosciuta" ("Reasoning duration: unknown") is shown while the model is thinking, before the first token is rendered. Once the first token appears, the label correctly displays the elapsed time.

The English locale shows no label at all during this phase, which is the preferable behaviour.

To reproduce

chatkit.setOptions({
  api: {
    url: '/chatkit',
    domainKey: 'local-dev',
  },
  locale: 'it',
});
  1. Set locale: 'it'
  2. Send a message
  3. Observe the label before the first token is rendered

Expected behaviour
No label is shown while the reasoning duration is not yet known (consistent with the English locale).

Actual behaviour
The label "Durata ragionamento: sconosciuta" is displayed.

Screenshots

Image
Dominant language
TypeScript
Stars
2k
Forks
187
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/chatkit-js

All issues in openai/chatkit-js

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.