GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(coderd/x/chatd/chattool): give the new read_skill_file subtests … · coder/coder@bf11ba9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • coderd/x/chatd/chattool
    • skill_test.go
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎coderd/x/chatd/chattool/skill_test.go‎

Copy file name to clipboardExpand all lines: coderd/x/chatd/chattool/skill_test.go
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,8 @@ func TestReadSkillFileTool(t *testing.T) {
948948
GetWorkspaceConn: func(context.Context) (workspacesdk.AgentConn, error) {
949949
return conn, nil
950950
},
951-
GetSkills: func() []chattool.SkillMeta { return skills },
951+
GetSkills: func() []chattool.SkillMeta { return skills },
952+
ResolveAlias: lookupSkills(skillSource(skillspkg.SourceWorkspace, "my-skill")),
952953
})
953954

954955
resp, err := tool.Run(context.Background(), fantasy.ToolCall{
@@ -989,6 +990,7 @@ func TestReadSkillFileTool(t *testing.T) {
989990
tool := chattool.ReadSkillFile(chattool.ReadSkillOptions{
990991
GetWorkspaceConn: func(context.Context) (workspacesdk.AgentConn, error) { return conn, nil },
991992
GetSkills: func() []chattool.SkillMeta { return skills },
993+
ResolveAlias: lookupSkills(skillSource(skillspkg.SourceWorkspace, "my-skill")),
992994
})
993995

994996
resp, err := tool.Run(context.Background(), fantasy.ToolCall{

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.