feat: agents #34
static-analysis.yml
on: push
phpstan
36s
type-coverage
58s
Annotations
5 errors and 1 warning
|
phpstan
Process completed with exit code 1.
|
|
phpstan:
src/Memory/Stores/CacheStore.php#L12
Non-abstract class Cortex\Memory\Stores\CacheStore contains abstract method setMessages() from interface Cortex\Memory\Contracts\Store.
|
|
phpstan:
src/Agents/Agent.php#L151
Method Cortex\Agents\Agent::stream() has parameter $messages with no value type specified in iterable type array.
|
|
phpstan:
src/Agents/Agent.php#L69
Instanceof between Cortex\Prompts\Templates\ChatPromptTemplate and Cortex\Prompts\Templates\ChatPromptTemplate will always evaluate to true.
|
|
phpstan:
src/Agents/Agent.php#L60
Property Cortex\Agents\Agent::$prompt (Cortex\Prompts\Templates\ChatPromptTemplate) does not accept Cortex\Contracts\Pipeable&Cortex\Prompts\Contracts\PromptTemplate.
|
|
phpstan
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|