Skip to content

Commit 36d8bad

Browse files
committed
best estupid error fixed
1 parent 967865f commit 36d8bad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cognitive/watson/output.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ func (watson *Cognitive) NewOutput(c *neo.Context, r *assistantv2.MessageRespons
1717
}
1818

1919
logs := make([]*neo.LogMessage, 0)
20+
nodes := make([]*neo.DialogNode, 0)
21+
2022
if r.Output.Debug != nil {
2123
for _, l := range r.Output.Debug.LogMessages {
2224
logs = append(logs,
@@ -55,8 +57,6 @@ func (watson *Cognitive) NewOutput(c *neo.Context, r *assistantv2.MessageRespons
5557
c.Variables = map[string]interface{}{}
5658
}
5759

58-
nodes := make([]*neo.DialogNode, 0)
59-
6060

6161
responses := make([]neo.Response, 0)
6262
for _, gen := range r.Output.Generic {

0 commit comments

Comments
 (0)