Skip to content

Commit

Permalink
Updated gpt instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rusiaaman committed Dec 25, 2024
1 parent becc3dc commit 085b749
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
13 changes: 13 additions & 0 deletions gpt_action_json_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,17 @@
"const": "Initialize",
"title": "Type"
},
"any_workspace_path": {
"type": "string",
"title": "Any Workspace Path"
},
"initial_files_to_read": {
"items": {
"type": "string"
},
"type": "array",
"title": "Initial Files To Read"
},
"user_id": {
"type": "string",
"format": "uuid",
Expand All @@ -445,6 +456,8 @@
"type": "object",
"required": [
"type",
"any_workspace_path",
"initial_files_to_read",
"user_id"
],
"title": "InitializeWithUUID"
Expand Down
7 changes: 6 additions & 1 deletion gpt_instructions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ Instructions:
- Do not install new tools/packages before ensuring no such tools/package or an alternative already exists.

Instructions for `Initialize`:
- Always call this at the start of the conversation.
- Always call this at the start of the conversation.- This will reset the shell.
- Use `any_workspace_path` to initialize the shell in the appropriate project directory.
- If the user has mentioned a workspace or project root, use it to set `any_workspace_path`.
- If the user has mentioned a folder or file with unclear project root, use the file or folder as `any_workspace_path`.
- If user has mentioned any files use `initial_files_to_read` to read, use absolute paths only.
- If `any_workspace_path` is provided, a tree structure of the workspace will be shown.

Instructions for `BashCommand`:
- Execute a bash command. This is stateful (beware with subsequent calls).
Expand Down

0 comments on commit 085b749

Please sign in to comment.