bug: m alora add-readme accepts --io-yaml but never uses it
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 54/100
Línea de trabajo
Read alora_add_readme in cli/alora/commands.py and the generate_readme() and make_readme_jinja_dict() entry points in cli/alora/readme_generator.py; compare their behavior with upload_intrinsic and the examples in docs/examples/aLora/README.md. Decide whether to remove, deprecate, or implement --io-yaml, since the issue lists these options but says the generator has no current dependency on the file. Done when the chosen behavior is consistent in the CLI, generated README, and documentation.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened?
m alora add-readme declares --io-yaml and documents it, but never reads the value.
In cli/alora/commands.py, io_yaml appears in alora_add_readme only in the option declaration and in the docstring. generate_readme() and make_readme_jinja_dict() in cli/alora/readme_generator.py have no parameter for it. A path that does not exist is accepted without an error, and the generated README is the same with or without the flag.
The docs tell users to pass it. docs/examples/aLora/README.md shows m alora add-readme --name ... --io-yaml io.yaml ... in two examples, and the generated CLI reference lists the option as [--io-yaml].
io.yaml is consumed by m alora upload --intrinsic (upload_intrinsic), which copies it into the repository. add-readme only documents an adapter that was already uploaded.
What did you expect to happen?
Either --io-yaml changes what add-readme does, or add-readme does not accept it.
How can we reproduce it?
No model or Hugging Face access is needed.
- In
cli/alora/commands.py, look atalora_add_readme:io_yamlis in the signature and the docstring and nowhere else. grep -n io_yaml cli/alora/readme_generator.pyfinds nothing.- With the LLM and Hub calls stubbed out, run
m alora add-readme data.jsonl --basemodel ibm-granite/granite-4.1-3b --name acme/stembolts --io-yaml /definitely/not/here.yaml. It exits 0, and the arguments passed on togenerate_readmedo not include the path.
Mellea version
main (0.10.0.dev0).
Any environmental details we need to know?
Not environment-specific.
Anything else we need to know?
Raised as a side note in #1620, where it was suggested that it be tracked separately. It is unrelated to the repository-layout problem in that issue.
Some ways to resolve it, with their costs:
- Remove the option, and update
docs/examples/aLora/README.md. This is the smallest change, but a script that passes--io-yamlwould start failing with "No such option". - Deprecate it. Keep accepting the option, warn that it is ignored, and remove it in a later release. This avoids breaking scripts at the cost of a release cycle.
- Make it do something. For example, give the README generator the output contract in
io.yaml(response_format) so the description of the adapter's output matches the real schema, and fail early if the path does not exist. This needs a design decision, because nothing in the generated README currently depends onio.yaml.
- Lenguaje dominante
- Python
- Estrellas
- 1.8k
- Forks
- 161
- Merge medio
- 4 d 3 h
- PR fusionados (30 d)
- 45
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 generative-computing/mellea
-
bug: `mellea.plugins.builtin_debug.generation.log_generation_post_call` shows model as unknownAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
generative-computing/mellea#1864 ·
Los mantenedores suelen responder en 3 días
-
bug: instruct() and react() replay tool-call turns without tool_callsPosiblemente ocupada @simonyang08 la tomó hace 21 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
generative-computing/mellea#1784 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Silently mangled docstrings: lone backslash line-continuations in non-raw docstrings collapse command examplesPosiblemente ocupada @madhusudhan1260 la tomó hace 18 días. Abiertogood first issue p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
generative-computing/mellea#1780 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
area/telemetry enhancement p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
generative-computing/mellea#1210 ·
Los mantenedores suelen responder en 3 días
-
Add requirement priorityAbiertoarea/requirement area/stdlib enhancement p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
generative-computing/mellea#31 · 2 comentarios ·
Los mantenedores suelen responder en 3 días
Todos los issues de generative-computing/mellea
Issues similares
-
cron: raise a distinct error when next_fire finds no match in its search bound (from #813 item 5)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Pin Hugging Face commit revisions for AuK weight downloads and eliminate post-download SHA TOCTOUAbiertoarea:voice better-dependency-freedom dependencies effort:low in-progress model:medium plan planner:gemini-4-neon-high priority:2 security
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
needs-area-label
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
OpenFreeEnergy/openfe#2371 ·
Los mantenedores suelen responder en 2 días
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
NCATSTranslator/Babel#1269 ·
Los mantenedores suelen responder en 1 día