`--provider openai-codex` is offered by commands whose answerer or generator refuses it
Los mantenedores suelen responder en 1 día
Ya se ha fusionado un pull request relacionado.
- #428 de @vlad-perevezentsev — fusionado
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 56/100
Línea de trabajo
Start by reading the definitions of ANSWER_PROVIDERS and CALLER_PROVIDERS in dokimi.llm, then trace how the listed commands validate --provider and route it to the LLM. The issue offers two paths: accept openai-codex or remove it from command choices; accepting it requires confirming the model works through chat completions. Done means the commands no longer offer a provider they reject, with tests covering the selected behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found in the review of #384 (https://github.com/intel/dokimi/pull/384#discussion_r4473774384). Pre-existing: main behaves the same.
--provider on these commands takes llm.ANSWER_PROVIDERS, which includes openai-codex. The class each command builds checks llm.CALLER_PROVIDERS, which does not. So the run stops with ValueError: Unsupported provider: 'openai-codex':
| Command | Refused by |
|---|---|
answers generate |
Answerer |
questions generate |
QuestionGenerator |
personas discover |
PersonaGenerator |
evaluate, benchmark run, benchmark batch |
EvaluationPipeline → PersonaGenerator, QuestionGenerator, Answerer |
dokimi.llm already routes the provider (openai/<model>, key OPENAI_API_KEY). The callers' tuples have left it out since before #384; that PR only merged the four copies into one constant.
Two ways to fix it, one PR:
- Accept it: add
openai-codextoCALLER_PROVIDERS, with one test per command above that it reachesdokimi.llmwith theopenai/route. - Stop offering it: build these commands'
--providerchoices fromCALLER_PROVIDERS(argparse then exits 2 before the run starts).
Option 1 needs someone to confirm that the models openai-codex names answer on that route through chat completions; if that is not known, option 2 is the safe one.
- Lenguaje dominante
- Python
- Estrellas
- 11
- Forks
- 9
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 373
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de intel/dokimi
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Holm's multiplier counts results that cannot reach p < 0.05 (arms and repo compare)Posiblemente ocupada @antonwolfy la tomó hoy. Abierto
intel/dokimi#478 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
eval.stats._sample_sd raises OverflowError on finite deltas near 1e200 and abovePosiblemente ocupada @antonwolfy la tomó hoy. Abierto
intel/dokimi#475 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de intel/dokimi
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
adafruit/Fruit-Jam-OS#98 ·
-
python triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
microsoft/semantic-kernel#14753 ·
Los mantenedores suelen responder en 5 días
-
area:cli area:configuration documentation priority:low size:small
Dificultad 1/5 1-3 horas Aptitud para principiantes 80/100
RonaldHensbergen/composable-data-stack#1222 ·
Los mantenedores suelen responder en 1 día
-
bug python
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
pvlib/pvlib-python#2939 ·
Los mantenedores suelen responder en 1 día