You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
-84Lines changed: 0 additions & 84 deletions
Original file line number
Diff line number
Diff line change
@@ -1,71 +1,5 @@
1
1
parameters:
2
2
ignoreErrors:
3
-
-
4
-
message:'#^Cannot access an offset on mixed\.$#'
5
-
identifier:offsetAccess.nonOffsetAccessible
6
-
count:1
7
-
path:src/Http/Controllers/LoopController.php
8
-
9
-
-
10
-
message:'#^Cannot access offset ''completion_tokens'' on Prism\\Prism\\ValueObjects\\Usage\.$#'
11
-
identifier:offsetAccess.nonOffsetAccessible
12
-
count:1
13
-
path:src/Http/Controllers/LoopController.php
14
-
15
-
-
16
-
message:'#^Cannot access offset ''message'' on mixed\.$#'
17
-
identifier:offsetAccess.nonOffsetAccessible
18
-
count:1
19
-
path:src/Http/Controllers/LoopController.php
20
-
21
-
-
22
-
message:'#^Cannot access offset ''prompt_tokens'' on Prism\\Prism\\ValueObjects\\Usage\.$#'
23
-
identifier:offsetAccess.nonOffsetAccessible
24
-
count:1
25
-
path:src/Http/Controllers/LoopController.php
26
-
27
-
-
28
-
message:'#^Cannot access offset ''total_tokens'' on Prism\\Prism\\ValueObjects\\Usage\.$#'
29
-
identifier:offsetAccess.nonOffsetAccessible
30
-
count:1
31
-
path:src/Http/Controllers/LoopController.php
32
-
33
-
-
34
-
message:'#^Cannot access offset ''user'' on mixed\.$#'
35
-
identifier:offsetAccess.nonOffsetAccessible
36
-
count:1
37
-
path:src/Http/Controllers/LoopController.php
38
-
39
-
-
40
-
message:'#^Cannot cast Prism\\Prism\\Text\\Response to string\.$#'
41
-
identifier:cast.string
42
-
count:2
43
-
path:src/Http/Controllers/LoopController.php
44
-
45
-
-
46
-
message:'#^Method Kirschbaum\\Loop\\Http\\Controllers\\LoopController\:\:getStoredMessages\(\) should return array\<mixed\> but returns mixed\.$#'
47
-
identifier:return.type
48
-
count:1
49
-
path:src/Http/Controllers/LoopController.php
50
-
51
-
-
52
-
message:'#^Method Kirschbaum\\Loop\\Http\\Controllers\\LoopController\:\:storeMessageInCache\(\) has parameter \$message with no value type specified in iterable type array\.$#'
53
-
identifier:missingType.iterableValue
54
-
count:1
55
-
path:src/Http/Controllers/LoopController.php
56
-
57
-
-
58
-
message:'#^Cannot access offset ''message'' on mixed\.$#'
59
-
identifier:offsetAccess.nonOffsetAccessible
60
-
count:2
61
-
path:src/Loop.php
62
-
63
-
-
64
-
message:'#^Cannot access offset ''user'' on mixed\.$#'
65
-
identifier:offsetAccess.nonOffsetAccessible
66
-
count:1
67
-
path:src/Loop.php
68
-
69
3
-
70
4
message:'#^Cannot call method build\(\) on Kirschbaum\\Loop\\Contracts\\Tool\|null\.$#'
71
5
identifier:method.nonObject
@@ -78,24 +12,6 @@ parameters:
78
12
count:1
79
13
path:src/Loop.php
80
14
81
-
-
82
-
message:'#^Parameter \#1 \$content of class Prism\\Prism\\ValueObjects\\Messages\\AssistantMessage constructor expects string, mixed given\.$#'
83
-
identifier:argument.type
84
-
count:1
85
-
path:src/Loop.php
86
-
87
-
-
88
-
message:'#^Parameter \#1 \$content of class Prism\\Prism\\ValueObjects\\Messages\\UserMessage constructor expects string, mixed given\.$#'
You are a helpful assistant. You will have many tools available to you. You need to give informations about the data and ask the user what you need to give him what he needs. \n\n
53
-
Today is %s. Current month is %s. Current day is %s. Database being used is %s. \n\n
54
-
When using the tools, always pass all the parameters listed in the tool. If you don't have all the information, ask the user for it. If it's optional, pass null. \n
55
-
When a field is tagged with a access_type read, it means that the field is automatically calculated and is not stored in the database. \n
56
-
When referencing an ID, try to fetch the resource of that ID from the database and give additional informations about it. \n\n
57
-
When giving the final output, please compress the information to the minimum needed to answer the question. No need to explain what math you did unless explicitly asked. \n\n
58
-
Parameter names in tools never include the $ symbol. \n\n
0 commit comments