feat: Asistente de Configuración y Gemini 2.5#32
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Asistente de Configuración Interactivo (
config init) y comandoedit:editfacilita la edición directa del archivo de configuración en un editor de texto.config set-*en una única interfaz interactiva, reduciendo la complejidad del CLI y centralizando la lógica de configuración. Elimina comandos redundantes.Actualización a Modelos Gemini v2.5 y manejo robusto de servicios de IA:
panic) cuando los servicios de IA no están configurados, brindando un mensaje de error claro en su lugar.internal/config/ai.go(Gemini 2.5 Pro, Flash, Flash Lite). Se añaden comprobaciones explícitas para servicios de IAnilencommit_service.goypr_service.go, mejorando la resiliencia de la aplicación.Refactorización de la inicialización del servicio de PR con carga "lazy":
summarize-prahora utiliza unPRServiceFactoryque crea elPRServicejusto antes de ejecutar la acción. Esto permite centralizar la validación de la configuración de VCS (como el token de GitHub) y los mensajes de error en el momento adecuado, evitando errores tempranos y la necesidad de configurar VCS si no se va a usar el comandosummarize-pr.