1
0

model-visible.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. [
  2. {
  3. "tools": [
  4. {
  5. "type": "function",
  6. "function": {
  7. "name": "bash",
  8. "description": "Run commands in a bash shell\n* When invoking this tool, the contents of the \"command\" parameter does NOT need to be XML-escaped.\n* Network access depends on the task environment. Prefer configured mirrors/proxies when they are available.\n* State is persistent across command calls and discussions with the user.\n* To inspect a particular line range of a file, e.g. lines 10-25, try 'sed -n 10,25p /path/to/the/file'.\n* Please avoid commands that may produce a very large amount of output.\n* Please run long lived commands in the background, e.g. 'sleep 10 &' or start a server in the background.",
  9. "parameters": {
  10. "type": "object",
  11. "properties": {
  12. "command": {
  13. "type": "string",
  14. "description": "The bash command to run. Relative path is preferred in the command."
  15. }
  16. },
  17. "required": [
  18. "command"
  19. ]
  20. }
  21. }
  22. }
  23. ],
  24. "messages": [
  25. {
  26. "role": "system",
  27. "text": "You are a helpful software engineer assistant."
  28. },
  29. {
  30. "role": "user",
  31. "text": "Exercise the packaged minimal agent's persistent shell."
  32. }
  33. ]
  34. },
  35. {
  36. "tools": [
  37. {
  38. "type": "function",
  39. "function": {
  40. "name": "bash",
  41. "description": "Run commands in a bash shell\n* When invoking this tool, the contents of the \"command\" parameter does NOT need to be XML-escaped.\n* Network access depends on the task environment. Prefer configured mirrors/proxies when they are available.\n* State is persistent across command calls and discussions with the user.\n* To inspect a particular line range of a file, e.g. lines 10-25, try 'sed -n 10,25p /path/to/the/file'.\n* Please avoid commands that may produce a very large amount of output.\n* Please run long lived commands in the background, e.g. 'sleep 10 &' or start a server in the background.",
  42. "parameters": {
  43. "type": "object",
  44. "properties": {
  45. "command": {
  46. "type": "string",
  47. "description": "The bash command to run. Relative path is preferred in the command."
  48. }
  49. },
  50. "required": [
  51. "command"
  52. ]
  53. }
  54. }
  55. }
  56. ],
  57. "messages": [
  58. {
  59. "role": "system",
  60. "text": "You are a helpful software engineer assistant."
  61. },
  62. {
  63. "role": "user",
  64. "text": "Exercise the packaged minimal agent's persistent shell."
  65. },
  66. {
  67. "role": "assistant",
  68. "toolCalls": [
  69. {
  70. "id": "minimal-bash-1",
  71. "name": "bash"
  72. }
  73. ]
  74. },
  75. {
  76. "role": "tool",
  77. "toolCallId": "minimal-bash-1",
  78. "text": "{{tool-result}}"
  79. }
  80. ]
  81. },
  82. {
  83. "tools": [
  84. {
  85. "type": "function",
  86. "function": {
  87. "name": "bash",
  88. "description": "Run commands in a bash shell\n* When invoking this tool, the contents of the \"command\" parameter does NOT need to be XML-escaped.\n* Network access depends on the task environment. Prefer configured mirrors/proxies when they are available.\n* State is persistent across command calls and discussions with the user.\n* To inspect a particular line range of a file, e.g. lines 10-25, try 'sed -n 10,25p /path/to/the/file'.\n* Please avoid commands that may produce a very large amount of output.\n* Please run long lived commands in the background, e.g. 'sleep 10 &' or start a server in the background.",
  89. "parameters": {
  90. "type": "object",
  91. "properties": {
  92. "command": {
  93. "type": "string",
  94. "description": "The bash command to run. Relative path is preferred in the command."
  95. }
  96. },
  97. "required": [
  98. "command"
  99. ]
  100. }
  101. }
  102. }
  103. ],
  104. "messages": [
  105. {
  106. "role": "system",
  107. "text": "You are a helpful software engineer assistant."
  108. },
  109. {
  110. "role": "user",
  111. "text": "Exercise the packaged minimal agent's persistent shell."
  112. },
  113. {
  114. "role": "assistant",
  115. "toolCalls": [
  116. {
  117. "id": "minimal-bash-1",
  118. "name": "bash"
  119. }
  120. ]
  121. },
  122. {
  123. "role": "tool",
  124. "toolCallId": "minimal-bash-1",
  125. "text": "{{tool-result}}"
  126. },
  127. {
  128. "role": "assistant",
  129. "toolCalls": [
  130. {
  131. "id": "minimal-bash-2",
  132. "name": "bash"
  133. }
  134. ]
  135. },
  136. {
  137. "role": "tool",
  138. "toolCallId": "minimal-bash-2",
  139. "text": "{{tool-result}}"
  140. }
  141. ]
  142. }
  143. ]