When "karibu" means both welcome and near
Ask Jirani AI answers questions about a place in Kiswahili and English, using live local data: reports, weather, nearby services and community announcements. In November 2026, while reviewing saved answers, we found a failure we had not seen in English.
What we saw
In 30 days of answers, 4 of 194 answers repeated a single phrase until they hit their length limit: "Karibu! Karibu sana! Karibu sana!...", "Karibu na wewe. Karibu na wewe...". Every one was an answer to a Kiswahili question about where to find food nearby. About 11 more answers opened with an unnecessary "Karibu." greeting.
Why it happens
In Kiswahili, karibu means both "welcome" and "near". A question about food nearby, answered from a list of nearby places, fills the model's context with karibu in the sense of "near". The model we used first for chat started treating it as a greeting and fell into a loop. Nothing checked the answer before it was saved, so the loop reached the user.
What fixed it
- Detect loops automatically. An answer in which one short phrase makes up a large share of the words, or repeats five or more times in a row, is treated as unusable. Run over all saved answers, the check flagged exactly the broken ones and none of the good ones.
- Fall back to another model. The assistant already tries several AI providers in order; an unusable answer now counts as a failure, so the next model answers instead.
- Remove an unwanted greeting. When the user did not greet, an opening "Karibu." is removed; "karibu na..." meaning "near" is kept.
- Say it in the instructions. The assistant is told not to open with "Karibu" unless greeted, and never to repeat a word or phrase.
What comes next
We are building a larger Kiswahili test set from real, anonymised questions, comparing models on it, and adding the checker to the planned Playground.
