test: update numeric tool schema snapshots · openclaw/openclaw@7bcef07
steipete
·
2026-05-29
·
via Recent Commits to openclaw:main
File tree
test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path
| Original file line number | Diff line number | Diff line change |
|---|
@@ -164,7 +164,7 @@
|
164 | 164 | "contextMessages": { |
165 | 165 | "maximum": 10, |
166 | 166 | "minimum": 0, |
167 | | -"type": "number" |
| 167 | +"type": "integer" |
168 | 168 | }, |
169 | 169 | "gatewayToken": { |
170 | 170 | "type": "string" |
|
817 | 817 | "type": "string" |
818 | 818 | }, |
819 | 819 | "delayMs": { |
820 | | -"type": "number" |
| 820 | +"minimum": 0, |
| 821 | +"type": "integer" |
821 | 822 | }, |
822 | 823 | "gatewayToken": { |
823 | 824 | "type": "string" |
@@ -838,7 +839,8 @@
|
838 | 839 | "type": "string" |
839 | 840 | }, |
840 | 841 | "restartDelayMs": { |
841 | | -"type": "number" |
| 842 | +"minimum": 0, |
| 843 | +"type": "integer" |
842 | 844 | }, |
843 | 845 | "sessionKey": { |
844 | 846 | "type": "string" |
|
870 | 872 | "properties": { |
871 | 873 | "activeMinutes": { |
872 | 874 | "minimum": 1, |
873 | | -"type": "number" |
| 875 | +"type": "integer" |
874 | 876 | }, |
875 | 877 | "agentId": { |
876 | 878 | "maxLength": 64, |
@@ -895,11 +897,11 @@
|
895 | 897 | }, |
896 | 898 | "limit": { |
897 | 899 | "minimum": 1, |
898 | | -"type": "number" |
| 900 | +"type": "integer" |
899 | 901 | }, |
900 | 902 | "messageLimit": { |
901 | 903 | "minimum": 0, |
902 | | -"type": "number" |
| 904 | +"type": "integer" |
903 | 905 | }, |
904 | 906 | "search": { |
905 | 907 | "minLength": 1, |
@@ -921,7 +923,7 @@
|
921 | 923 | }, |
922 | 924 | "limit": { |
923 | 925 | "minimum": 1, |
924 | | -"type": "number" |
| 926 | +"type": "integer" |
925 | 927 | }, |
926 | 928 | "sessionKey": { |
927 | 929 | "type": "string" |
|
956 | 958 | }, |
957 | 959 | "timeoutSeconds": { |
958 | 960 | "minimum": 0, |
959 | | -"type": "number" |
| 961 | +"type": "integer" |
960 | 962 | } |
961 | 963 | }, |
962 | 964 | "required": ["message"], |
|
1036 | 1038 | }, |
1037 | 1039 | "runTimeoutSeconds": { |
1038 | 1040 | "minimum": 0, |
1039 | | -"type": "number" |
| 1041 | +"type": "integer" |
1040 | 1042 | }, |
1041 | 1043 | "sandbox": { |
1042 | 1044 | "enum": ["inherit", "require"], |
@@ -1058,7 +1060,7 @@
|
1058 | 1060 | }, |
1059 | 1061 | "timeoutSeconds": { |
1060 | 1062 | "minimum": 0, |
1061 | | -"type": "number" |
| 1063 | +"type": "integer" |
1062 | 1064 | } |
1063 | 1065 | }, |
1064 | 1066 | "required": ["task"], |
|
1090 | 1092 | }, |
1091 | 1093 | "recentMinutes": { |
1092 | 1094 | "minimum": 1, |
1093 | | -"type": "number" |
| 1095 | +"type": "integer" |
1094 | 1096 | } |
1095 | 1097 | }, |
1096 | 1098 | "type": "object" |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -164,7 +164,7 @@
|
164 | 164 | "contextMessages": { |
165 | 165 | "maximum": 10, |
166 | 166 | "minimum": 0, |
167 | | -"type": "number" |
| 167 | +"type": "integer" |
168 | 168 | }, |
169 | 169 | "gatewayToken": { |
170 | 170 | "type": "string" |
|
853 | 853 | "type": "string" |
854 | 854 | }, |
855 | 855 | "delayMs": { |
856 | | -"type": "number" |
| 856 | +"minimum": 0, |
| 857 | +"type": "integer" |
857 | 858 | }, |
858 | 859 | "gatewayToken": { |
859 | 860 | "type": "string" |
@@ -874,7 +875,8 @@
|
874 | 875 | "type": "string" |
875 | 876 | }, |
876 | 877 | "restartDelayMs": { |
877 | | -"type": "number" |
| 878 | +"minimum": 0, |
| 879 | +"type": "integer" |
878 | 880 | }, |
879 | 881 | "sessionKey": { |
880 | 882 | "type": "string" |
|
906 | 908 | "properties": { |
907 | 909 | "activeMinutes": { |
908 | 910 | "minimum": 1, |
909 | | -"type": "number" |
| 911 | +"type": "integer" |
910 | 912 | }, |
911 | 913 | "agentId": { |
912 | 914 | "maxLength": 64, |
@@ -931,11 +933,11 @@
|
931 | 933 | }, |
932 | 934 | "limit": { |
933 | 935 | "minimum": 1, |
934 | | -"type": "number" |
| 936 | +"type": "integer" |
935 | 937 | }, |
936 | 938 | "messageLimit": { |
937 | 939 | "minimum": 0, |
938 | | -"type": "number" |
| 940 | +"type": "integer" |
939 | 941 | }, |
940 | 942 | "search": { |
941 | 943 | "minLength": 1, |
@@ -957,7 +959,7 @@
|
957 | 959 | }, |
958 | 960 | "limit": { |
959 | 961 | "minimum": 1, |
960 | | -"type": "number" |
| 962 | +"type": "integer" |
961 | 963 | }, |
962 | 964 | "sessionKey": { |
963 | 965 | "type": "string" |
|
992 | 994 | }, |
993 | 995 | "timeoutSeconds": { |
994 | 996 | "minimum": 0, |
995 | | -"type": "number" |
| 997 | +"type": "integer" |
996 | 998 | } |
997 | 999 | }, |
998 | 1000 | "required": ["message"], |
|
1072 | 1074 | }, |
1073 | 1075 | "runTimeoutSeconds": { |
1074 | 1076 | "minimum": 0, |
1075 | | -"type": "number" |
| 1077 | +"type": "integer" |
1076 | 1078 | }, |
1077 | 1079 | "sandbox": { |
1078 | 1080 | "enum": ["inherit", "require"], |
@@ -1090,7 +1092,7 @@
|
1090 | 1092 | }, |
1091 | 1093 | "timeoutSeconds": { |
1092 | 1094 | "minimum": 0, |
1093 | | -"type": "number" |
| 1095 | +"type": "integer" |
1094 | 1096 | } |
1095 | 1097 | }, |
1096 | 1098 | "required": ["task"], |
|
1122 | 1124 | }, |
1123 | 1125 | "recentMinutes": { |
1124 | 1126 | "minimum": 1, |
1125 | | -"type": "number" |
| 1127 | +"type": "integer" |
1126 | 1128 | } |
1127 | 1129 | }, |
1128 | 1130 | "type": "object" |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -164,7 +164,7 @@
|
164 | 164 | "contextMessages": { |
165 | 165 | "maximum": 10, |
166 | 166 | "minimum": 0, |
167 | | -"type": "number" |
| 167 | +"type": "integer" |
168 | 168 | }, |
169 | 169 | "gatewayToken": { |
170 | 170 | "type": "string" |
|
817 | 817 | "type": "string" |
818 | 818 | }, |
819 | 819 | "delayMs": { |
820 | | -"type": "number" |
| 820 | +"minimum": 0, |
| 821 | +"type": "integer" |
821 | 822 | }, |
822 | 823 | "gatewayToken": { |
823 | 824 | "type": "string" |
@@ -838,7 +839,8 @@
|
838 | 839 | "type": "string" |
839 | 840 | }, |
840 | 841 | "restartDelayMs": { |
841 | | -"type": "number" |
| 842 | +"minimum": 0, |
| 843 | +"type": "integer" |
842 | 844 | }, |
843 | 845 | "sessionKey": { |
844 | 846 | "type": "string" |
|
870 | 872 | "properties": { |
871 | 873 | "activeMinutes": { |
872 | 874 | "minimum": 1, |
873 | | -"type": "number" |
| 875 | +"type": "integer" |
874 | 876 | }, |
875 | 877 | "agentId": { |
876 | 878 | "maxLength": 64, |
@@ -895,11 +897,11 @@
|
895 | 897 | }, |
896 | 898 | "limit": { |
897 | 899 | "minimum": 1, |
898 | | -"type": "number" |
| 900 | +"type": "integer" |
899 | 901 | }, |
900 | 902 | "messageLimit": { |
901 | 903 | "minimum": 0, |
902 | | -"type": "number" |
| 904 | +"type": "integer" |
903 | 905 | }, |
904 | 906 | "search": { |
905 | 907 | "minLength": 1, |
@@ -921,7 +923,7 @@
|
921 | 923 | }, |
922 | 924 | "limit": { |
923 | 925 | "minimum": 1, |
924 | | -"type": "number" |
| 926 | +"type": "integer" |
925 | 927 | }, |
926 | 928 | "sessionKey": { |
927 | 929 | "type": "string" |
|
956 | 958 | }, |
957 | 959 | "timeoutSeconds": { |
958 | 960 | "minimum": 0, |
959 | | -"type": "number" |
| 961 | +"type": "integer" |
960 | 962 | } |
961 | 963 | }, |
962 | 964 | "required": ["message"], |
|
1036 | 1038 | }, |
1037 | 1039 | "runTimeoutSeconds": { |
1038 | 1040 | "minimum": 0, |
1039 | | -"type": "number" |
| 1041 | +"type": "integer" |
1040 | 1042 | }, |
1041 | 1043 | "sandbox": { |
1042 | 1044 | "enum": ["inherit", "require"], |
@@ -1054,7 +1056,7 @@
|
1054 | 1056 | }, |
1055 | 1057 | "timeoutSeconds": { |
1056 | 1058 | "minimum": 0, |
1057 | | -"type": "number" |
| 1059 | +"type": "integer" |
1058 | 1060 | } |
1059 | 1061 | }, |
1060 | 1062 | "required": ["task"], |
|
1086 | 1088 | }, |
1087 | 1089 | "recentMinutes": { |
1088 | 1090 | "minimum": 1, |
1089 | | -"type": "number" |
| 1091 | +"type": "integer" |
1090 | 1092 | } |
1091 | 1093 | }, |
1092 | 1094 | "type": "object" |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -221,8 +221,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the
|
221 | 221 | "roughTokens": 0 |
222 | 222 | }, |
223 | 223 | "dynamicToolsJson": { |
224 | | -"chars": 40279, |
225 | | -"roughTokens": 10070 |
| 224 | +"chars": 40644, |
| 225 | +"roughTokens": 10161 |
226 | 226 | }, |
227 | 227 | "openClawDeveloperInstructions": { |
228 | 228 | "chars": 2988, |
@@ -233,8 +233,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the
|
233 | 233 | "roughTokens": 6925 |
234 | 234 | }, |
235 | 235 | "totalWithDynamicToolsJson": { |
236 | | -"chars": 67981, |
237 | | -"roughTokens": 16996 |
| 236 | +"chars": 68346, |
| 237 | +"roughTokens": 17087 |
238 | 238 | }, |
239 | 239 | "userInputText": { |
240 | 240 | "chars": 1629, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -221,8 +221,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the
|
221 | 221 | "roughTokens": 0 |
222 | 222 | }, |
223 | 223 | "dynamicToolsJson": { |
224 | | -"chars": 40000, |
225 | | -"roughTokens": 10000 |
| 224 | +"chars": 40365, |
| 225 | +"roughTokens": 10092 |
226 | 226 | }, |
227 | 227 | "openClawDeveloperInstructions": { |
228 | 228 | "chars": 1964, |
@@ -233,8 +233,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the
|
233 | 233 | "roughTokens": 6544 |
234 | 234 | }, |
235 | 235 | "totalWithDynamicToolsJson": { |
236 | | -"chars": 66178, |
237 | | -"roughTokens": 16545 |
| 236 | +"chars": 66543, |
| 237 | +"roughTokens": 16636 |
238 | 238 | }, |
239 | 239 | "userInputText": { |
240 | 240 | "chars": 1129, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -222,8 +222,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the
|
222 | 222 | "roughTokens": 0 |
223 | 223 | }, |
224 | 224 | "dynamicToolsJson": { |
225 | | -"chars": 41095, |
226 | | -"roughTokens": 10274 |
| 225 | +"chars": 41460, |
| 226 | +"roughTokens": 10365 |
227 | 227 | }, |
228 | 228 | "openClawDeveloperInstructions": { |
229 | 229 | "chars": 1983, |
@@ -234,8 +234,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the
|
234 | 234 | "roughTokens": 6780 |
235 | 235 | }, |
236 | 236 | "totalWithDynamicToolsJson": { |
237 | | -"chars": 68216, |
238 | | -"roughTokens": 17054 |
| 237 | +"chars": 68581, |
| 238 | +"roughTokens": 17146 |
239 | 239 | }, |
240 | 240 | "userInputText": { |
241 | 241 | "chars": 1367, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。