Skip to content

Commit

Permalink
Fix: add more model configs in config.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hu <[email protected]>
  • Loading branch information
daniel-hutao committed Nov 23, 2023
1 parent 6a0fb9f commit 8d667f8
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions src/main/java/ai/devchat/cli/DevChatConfig.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package ai.devchat.cli;

import java.io.File;
import java.util.Map;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;

import java.io.File;
import java.util.Map;

/*
* default_model: gpt-3.5-turbo
* models:
Expand Down Expand Up @@ -75,6 +75,30 @@ public void writeDefaultConfig() {
setProvider("devchat.ai");
setStream(true);
}
},

"gpt-3.5-turbo-16k",
new ModelConfig() {
{
setProvider("devchat.ai");
setStream(true);
}
},

"gpt-4",
new ModelConfig() {
{
setProvider("devchat.ai");
setStream(true);
}
},

"claude-2",
new ModelConfig() {
{
setProvider("general");
setStream(true);
}
});
this.save();
}
Expand Down

0 comments on commit 8d667f8

Please sign in to comment.