llms: Add stop sequence support #2400
Annotations
7 errors and 3 warnings
Lint:
llms/stop_sequence_test.go#L17
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
llms/stop_sequence_test.go#L113
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
llms/anthropic/anthropicllm.go#L136
calculated cyclomatic complexity for function generateMessagesContent is 13, max is 12 (cyclop)
|
Lint:
llms/stop_sequence_test.go#L33
Function TestStopSequences missing the call to method parallel (paralleltest)
|
Lint:
llms/stop_sequence_test.go#L71
Range statement for test TestStopSequences missing the call to method parallel in test Run (paralleltest)
|
Lint:
llms/stop_sequence_test.go#L101
Function TestStopSequencesStreaming missing the call to method parallel (paralleltest)
|
Lint
issues found
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build Examples
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build and Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|