Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lennardv2 authored and github-actions[bot] committed Jun 20, 2023
1 parent f677779 commit 0bc342e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Modules/Files.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ public function write()

foreach ($this->files as $file => $contents) {
$basename = basename($file);

$this->cmd->comment($file);
$this->cmd->comment("----");
$this->cmd->comment('----');
$this->cmd->line($contents);

$fullFile = $base.'/'.$file;

$fileExists = file_exists($fullFile);

if ($this->cmd->confirm("Write $basename?" . ($fileExists ? ' (File already exists)' : ''), !$fileExists)) {
if ($this->cmd->confirm("Write $basename?".($fileExists ? ' (File already exists)' : ''), ! $fileExists)) {
$file = $this->cmd->askWithCompletion('Write path', [$file], $file);

if ($file) {
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/History.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function onSelect(?string $key = null)
/**
* @var ChatMessage $item
*/
foreach($history as $item) {
foreach ($history as $item) {
$this->cmd->comment($item->role);
$this->cmd->comment('----');
$this->cmd->line($item->content ?? $item->function_call['name'] ?? '');
Expand Down
1 change: 1 addition & 0 deletions src/Synth.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Synth
public Client $ai;

public $smallModel = 'gpt-3.5-turbo-0613';

public $largeModel = 'gpt-3.5-turbo-16k-0613';

public $model = 'gpt-3.5-turbo-0613';
Expand Down

0 comments on commit 0bc342e

Please sign in to comment.