Skip to content

Commit ece8751

Browse files
chore: add projects and threads
1 parent f33ae5e commit ece8751

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

index.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ tools:
4949
reference: ./workspace-files
5050
tasks:
5151
reference: ./tasks
52+
threads:
53+
reference: ./threads
54+
projects:
55+
reference: ./projects
5256
knowledge:
5357
reference: ./knowledge
5458
shell:

projects/tool.gpt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Name: Projects
2+
Description: Users can create multiple projects
3+
Metadata: icon: https://cdn.jsdelivr.net/npm/@phosphor-icons/core@2/assets/duotone/folder-duotone.svg
4+
Metadata: category: Capability

threads/tool.gpt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Name: Threads
2+
Description: Users can create multiple threads
3+
Metadata: icon: https://cdn.jsdelivr.net/npm/@phosphor-icons/core@2/assets/duotone/scroll-duotone.svg
4+
Metadata: category: Capability

workspace-files/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Write any suggested changes back to the file.`,
121121
if err := c.WriteFileInWorkspace(ctx, path.Join(FilesDir, filename), []byte(content)); err == nil {
122122
if !printed {
123123
printed = true
124-
fmt.Println("The following files have been changed in the workspace:")
124+
fmt.Println("The following files have been externally changed in the workspace, re-read them if the up to date content needs to be known:")
125125
}
126126
fmt.Printf("File: %s\n%s\n", filename, inBackTicks(content))
127127
}

0 commit comments

Comments
 (0)