Skip to content

Commit 0e809d1

Browse files
JordanDaltongithub-actions[bot]
authored andcommitted
Fix styling
1 parent 45de0fa commit 0e809d1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Diff for: src/Requests/CreateCompletionRequest.php

+10-10
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ class CreateCompletionRequest extends Request implements HasBody
1414
protected Method $method = Method::POST;
1515

1616
/**
17-
* @param string $prompt The model that will complete your prompt.
18-
* @param string $model The prompt that you want Claude to complete.
19-
* @param int $max_tokens_to_sample The maximum number of tokens to generate before stopping.
20-
* @param array<string> $stop_sequences Sequences that will cause the model to stop generating completion text.
21-
* @param int $temperature Amount of randomness injected into the response.
22-
* @param float $top_p Use nucleus sampling.
23-
* @param int $top_k Only sample from the top K options for each subsequent token.
24-
* @param array $metadata An object describing metadata about the request.
25-
* @param bool $stream Whether to incrementally stream the response using server-sent events.
17+
* @param string $prompt The model that will complete your prompt.
18+
* @param string $model The prompt that you want Claude to complete.
19+
* @param int $max_tokens_to_sample The maximum number of tokens to generate before stopping.
20+
* @param array<string> $stop_sequences Sequences that will cause the model to stop generating completion text.
21+
* @param int $temperature Amount of randomness injected into the response.
22+
* @param float $top_p Use nucleus sampling.
23+
* @param int $top_k Only sample from the top K options for each subsequent token.
24+
* @param array $metadata An object describing metadata about the request.
25+
* @param bool $stream Whether to incrementally stream the response using server-sent events.
2626
*/
2727
public function __construct(
2828
public readonly string $prompt = "\n\nHuman:Say Hi\n\nAssistant:",
@@ -45,7 +45,7 @@ public function resolveEndpoint(): string
4545

4646
public function defaultBody(): array
4747
{
48-
if(! isset($metadata['user_id'])) {
48+
if (! isset($metadata['user_id'])) {
4949
$metadata['user_id'] = uniqid();
5050
}
5151

0 commit comments

Comments
 (0)