aligned perl port's default model
This commit is contained in:
@@ -45,7 +45,7 @@ sub col {
|
|||||||
sub get_cfg {
|
sub get_cfg {
|
||||||
my ($path) = @_;
|
my ($path) = @_;
|
||||||
$path //= 'model.cfg';
|
$path //= 'model.cfg';
|
||||||
my %d = (endpoint => 'https://opencode.ai/zen/v1', model => 'deepseek-v4-flash-free', temperature => '0.7', api_key => '-', timeout => '300', shell_timeout => '120', max_al_iterations => '1000', stream => 'true', color => 'auto');
|
my %d = (endpoint => 'https://opencode.ai/zen/v1', model => 'big-pickle', temperature => '0.7', api_key => '-', timeout => '300', shell_timeout => '120', max_al_iterations => '1000', stream => 'true', color => 'auto');
|
||||||
if (-f $path) {
|
if (-f $path) {
|
||||||
open my $fh, '<:encoding(UTF-8)', $path or die "Cannot open $path: $!";
|
open my $fh, '<:encoding(UTF-8)', $path or die "Cannot open $path: $!";
|
||||||
while (my $ln = <$fh>) {
|
while (my $ln = <$fh>) {
|
||||||
|
|||||||
Reference in New Issue
Block a user