mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 01:34:22 +01:00
reimplement agent,provider and add file history
This commit is contained in:
7
main.go
7
main.go
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user