• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kshard / thinker / 15082283232

17 May 2025 05:53AM UTC coverage: 33.807% (-24.4%) from 58.222%
15082283232

Pull #20

github

fogfish
establish agent taxonomy - prompter, manifold, automata
Pull Request #20: establish agent taxonomy - prompter, manifold, automata

241 of 611 new or added lines in 28 files covered. (39.44%)

145 existing lines in 5 files now uncovered.

381 of 1127 relevant lines covered (33.81%)

0.36 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.82
/command/softcmd/pseudo.go
1
//
2
// Copyright (C) 2025 Dmitry Kolesnikov
3
//
4
// This file may be modified and distributed under the terms
5
// of the MIT license.  See the LICENSE file for details.
6
// https://github.com/kshard/thinker
7
//
8

9
package softcmd
10

11
import (
12
        "github.com/kshard/chatter"
13
)
14

15
// A unique name for return command
16
const RETURN = "return"
17

18
// Creates new return command, instructing LLM return results
19
func Return() Cmd {
1✔
20
        return Cmd{
1✔
21
                Cmd:    RETURN,
1✔
22
                About:  "indicate that workflow is completed, the agent return expected results",
1✔
23
                Syntax: "return <codeblock>value to return</codeblock>",
1✔
24
                Run: func(t *chatter.Reply) (float64, CmdOut, error) {
2✔
25
                        code, err := CodeBlock(RETURN, t.String())
1✔
26
                        if err != nil {
1✔
NEW
27
                                return 0.00, CmdOut{Cmd: RETURN}, err
×
28
                        }
×
29
                        return 1.0, CmdOut{Cmd: RETURN, Output: code}, nil
1✔
30
                },
31
        }
32
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc