Skip to content

Commit

Permalink
Beta111 (#109)
Browse files Browse the repository at this point in the history
* beta1

* beta2

* beta3

* beta4

* beta5

* beta6

* beta7

* beta8

* beta9

* beta10

* beta11

* beta12

* beta13

* beta14

* beta15

* beta16

* beta16

* beta19

* beta20

* beta21

* beta22

* beta23

* beta24

* beta25

* beta27

* beta28

* beta29

* beta30

* beta31

* beta33

* beta34

* beta35

* beta36

* beta37

* beta38

* beta39

* beta40

* beta41

* beta42

* beta43

* beta44

* beta45

* beta45

* beta46

* beat48

* beta49

* beta50

* beta51

* beta52

* beta53

* beta54

* beta55

* beta57

* beta58

* beta59

* beta61

* beta62

* beta63

* beta63

* beta64

* beta65

* beta66

* beta67

* beta70

* beta71

* beta72

* beta72

* beta74

* beta75

* beta76

* beta77

* beta78

* beta79

* beta80

* beta81

* beta82

* beta83

* beta85

* beta86

* beta87

* beta88

* beta89

* beta90

* beta91

* beta92

* beta93

* beta94

* beta94

* beta96

* beta97

* beta98

* beta99

* beta100

* beta101

* beta102

* beta104

* beta105

* beta106

* beta107

* beta108

* beta109

* beta110

* beta111
  • Loading branch information
Hoshinonyaruko authored May 13, 2024
1 parent c97c8e5 commit 38e4f5a
Show file tree
Hide file tree
Showing 8 changed files with 900 additions and 3 deletions.
1 change: 1 addition & 0 deletions applogic/chatgpt.go
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ func (app *App) ChatHandlerChatgpt(w http.ResponseWriter, r *http.Request) {
}
tempResponseJSON, _ := json.Marshal(tempResponseMap)
fmtf.Fprintf(w, "data: %s\n\n", string(tempResponseJSON))
fmt.Printf("测试返回:%v\n", string(tempResponseJSON))
flusher.Flush()
}
}
Expand Down
2 changes: 1 addition & 1 deletion applogic/gensokyo.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ func (app *App) GensokyoHandler(w http.ResponseWriter, r *http.Request) {
}
}
} else {
//流的最后一次是完整结束的
// 流的最后一次是完整结束的
fmtf.Printf("A完整信息: %s(sse完整结束)\n", response)
}

Expand Down
Loading

0 comments on commit 38e4f5a

Please sign in to comment.