Skip to content

Commit 3c12ce9

Browse files
committed
fix: address changes in smoke tests
Signed-off-by: Donnie Adams <[email protected]>
1 parent 3046047 commit 3c12ce9

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

pkg/sdkserver/workspaces.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ import (
1010
)
1111

1212
type workspaceCommonRequest struct {
13-
ID string `json:"id"`
14-
WorkspaceToolRepo string `json:"workspaceToolRepo"`
13+
ID string `json:"id"`
14+
WorkspaceTool string `json:"workspaceTool"`
1515
}
1616

1717
func (w workspaceCommonRequest) getToolRepo() string {
18-
if w.WorkspaceToolRepo != "" {
19-
return w.WorkspaceToolRepo
18+
if w.WorkspaceTool != "" {
19+
return w.WorkspaceTool
2020
}
21-
return "/Users/thedadams/code/workspace-provider"
21+
return "github.com/gptscript-ai/workspace-provider"
2222
}
2323

2424
type crateWorkspaceRequest struct {

pkg/tests/smoke/testdata/Bob/gpt-4-turbo-2024-04-09-expected.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@
666666
},
667667
"type": "object"
668668
},
669-
"instructions": "When asked how I am doing, respond with exactly \"Thanks for asking \"${question}\", I'm doing great fellow friendly AI tool!\"",
669+
"instructions": "When asked how I am doing, respond with exactly \"Thanks for asking \"${QUESTION}\", I'm doing great fellow friendly AI tool!\"",
670670
"id": "testdata/Bob/test.gpt:bob",
671671
"localTools": {
672672
"": "testdata/Bob/test.gpt:",
@@ -704,7 +704,7 @@
704704
},
705705
"type": "object"
706706
},
707-
"instructions": "When asked how I am doing, respond with exactly \"Thanks for asking \"${question}\", I'm doing great fellow friendly AI tool!\"",
707+
"instructions": "When asked how I am doing, respond with exactly \"Thanks for asking \"${QUESTION}\", I'm doing great fellow friendly AI tool!\"",
708708
"id": "testdata/Bob/test.gpt:bob",
709709
"localTools": {
710710
"": "testdata/Bob/test.gpt:",
@@ -728,7 +728,7 @@
728728
"messages": [
729729
{
730730
"role": "system",
731-
"content": "\nYou are task oriented system.\nYou receive input from a user, process the input from the given instructions, and then output the result.\nYour objective is to provide consistent and correct results.\nYou do not need to explain the steps taken, only provide the result to the given instructions.\nYou are referred to as a tool.\nYou don't move to the next step until you have a result.\n\nWhen asked how I am doing, respond with exactly \"Thanks for asking \"${question}\", I'm doing great fellow friendly AI tool!\""
731+
"content": "\nYou are task oriented system.\nYou receive input from a user, process the input from the given instructions, and then output the result.\nYour objective is to provide consistent and correct results.\nYou do not need to explain the steps taken, only provide the result to the given instructions.\nYou are referred to as a tool.\nYou don't move to the next step until you have a result.\n\nWhen asked how I am doing, respond with exactly \"Thanks for asking \"${QUESTION}\", I'm doing great fellow friendly AI tool!\""
732732
},
733733
{
734734
"role": "user",
@@ -756,7 +756,7 @@
756756
},
757757
"type": "object"
758758
},
759-
"instructions": "When asked how I am doing, respond with exactly \"Thanks for asking \"${question}\", I'm doing great fellow friendly AI tool!\"",
759+
"instructions": "When asked how I am doing, respond with exactly \"Thanks for asking \"${QUESTION}\", I'm doing great fellow friendly AI tool!\"",
760760
"id": "testdata/Bob/test.gpt:bob",
761761
"localTools": {
762762
"": "testdata/Bob/test.gpt:",
@@ -795,7 +795,7 @@
795795
},
796796
"type": "object"
797797
},
798-
"instructions": "When asked how I am doing, respond with exactly \"Thanks for asking \"${question}\", I'm doing great fellow friendly AI tool!\"",
798+
"instructions": "When asked how I am doing, respond with exactly \"Thanks for asking \"${QUESTION}\", I'm doing great fellow friendly AI tool!\"",
799799
"id": "testdata/Bob/test.gpt:bob",
800800
"localTools": {
801801
"": "testdata/Bob/test.gpt:",
@@ -834,7 +834,7 @@
834834
},
835835
"type": "object"
836836
},
837-
"instructions": "When asked how I am doing, respond with exactly \"Thanks for asking \"${question}\", I'm doing great fellow friendly AI tool!\"",
837+
"instructions": "When asked how I am doing, respond with exactly \"Thanks for asking \"${QUESTION}\", I'm doing great fellow friendly AI tool!\"",
838838
"id": "testdata/Bob/test.gpt:bob",
839839
"localTools": {
840840
"": "testdata/Bob/test.gpt:",
@@ -873,7 +873,7 @@
873873
},
874874
"type": "object"
875875
},
876-
"instructions": "When asked how I am doing, respond with exactly \"Thanks for asking \"${question}\", I'm doing great fellow friendly AI tool!\"",
876+
"instructions": "When asked how I am doing, respond with exactly \"Thanks for asking \"${QUESTION}\", I'm doing great fellow friendly AI tool!\"",
877877
"id": "testdata/Bob/test.gpt:bob",
878878
"localTools": {
879879
"": "testdata/Bob/test.gpt:",

0 commit comments

Comments
 (0)