reimplement agent,provider and add file history

This commit is contained in:
Kujtim Hoxha 2025-04-16 20:06:23 +02:00
parent 76b4065f17
commit bbfa60c787
73 changed files with 3742 additions and 4026 deletions

View file

@ -2,8 +2,15 @@ package main
import (
"github.com/kujtimiihoxha/termai/cmd"
"github.com/kujtimiihoxha/termai/internal/logging"
)
func main() {
// Set up panic recovery for the main function
defer logging.RecoverPanic("main", func() {
// Perform any necessary cleanup before exit
logging.ErrorPersist("Application terminated due to unhandled panic")
})
cmd.Execute()
}