Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

fix(lumabot): item pulado por falta de busca nativa não chega às métricas da IA

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
node.js, typescript

Research direction

Start at apps/lumabot/src/plugins/ai/ai.ts near line 299, where a requested nativeSearch is skipped by a provider that lacks it. Trace how attempt(...) outcomes reach summary.ts and its successRate, then ensure the skip is emitted as a distinct unsupported outcome and counted with unregistered attempts. No test file is named, so add or locate coverage around these two files that verifies the metrics and dashboard totals.

Written by the indexing model from the issue text.

Description

area:plugin type:bug

Encontrado na revisão do #386.

Em apps/lumabot/src/plugins/ai/ai.ts (linha ~299), o item da cadeia pulado por não ter busca nativa (nativeSearch pedido e provider sem ela) só gera um warn no log: não chama attempt(...). Já o item sem provider registrado emite outcome: 'unregistered'.

Resultado: ai-metrics e dashboard não veem esses pulos, e uma cadeia de busca mal configurada (sem nenhum Gemini) aparece só como falha da web-search, sem a causa. Sugestão: emitir uma tentativa com outcome próprio (ex.: 'unsupported') e contá-lo como o unregistered no successRate do summary.ts.

Dominant language
JavaScript
Stars
26
Forks
6
Avg merge
43m
Merged PRs (30d)
136

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

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 murillous/LumaBot

All issues in murillous/LumaBot

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.