From 7f2d7ce2d0cfcdaf40ad1c9b96788e1afe0f9880 Mon Sep 17 00:00:00 2001 From: x5iu Date: Wed, 21 Aug 2024 15:14:41 +0800 Subject: [PATCH] =?UTF-8?q?v0.8.5=20[HOTFIX]=20=E5=9C=A8=20`endpoint=5Fcus?= =?UTF-8?q?tom.go`=20=E5=AF=BC=E5=85=A5=E9=81=97=E6=BC=8F=E7=9A=84=20`stri?= =?UTF-8?q?ngs`=20=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- endpoint_custom.go | 6 +++++- main.go | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/endpoint_custom.go b/endpoint_custom.go index 5a6eaaa..0f77f18 100644 --- a/endpoint_custom.go +++ b/endpoint_custom.go @@ -3,7 +3,11 @@ package main -import "github.com/spf13/cobra" +import ( + "strings" + + "github.com/spf13/cobra" +) var endpoint string diff --git a/main.go b/main.go index e50bf9e..6a39646 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ func init() { var ( MoonPalace = &cobra.Command{ Use: "moonpalace", - Version: "v0.8.4", + Version: "v0.8.5", Short: "MoonPalace is a command-line tool for debugging the Moonshot AI HTTP API", SilenceErrors: true, SilenceUsage: true,