From a73398d3fb7ad76dc7e50b1b9c56a8b0357f8ed6 Mon Sep 17 00:00:00 2001 From: ddkwork <2762713521@qq.com> Date: Sun, 10 Mar 2024 12:54:39 -0700 Subject: [PATCH] queryModelList --- ai/ai.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ai/ai.go b/ai/ai.go index dac7a5c2..4b7bacb8 100644 --- a/ai/ai.go +++ b/ai/ai.go @@ -34,6 +34,9 @@ func main() { leftFrame := gi.NewFrame(splits) leftFrame.Style(func(s *styles.Style) { s.Direction = styles.Column }) + + giv.NewSliceView(leftFrame).SetSlice(&Models).SetReadOnly(true) + giv.NewFileView(leftFrame) gi.NewButton(leftFrame).SetText("Update module").Style(func(s *styles.Style) { s.Align.Self = styles.End