Skip to content

Commit

Permalink
modify openai model, gpt-3.5-turbo -> gpt-4o-mini (#258)
Browse files Browse the repository at this point in the history
* chore(): modify openai model, gpt-3.5-turbo -> gpt-4o-mini

* chore(): remove unused property

* chore(): copy src directory
  • Loading branch information
sunshinexcode authored Aug 29, 2024
1 parent f1e97d3 commit a1090a3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions agents/property.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"base_url": "",
"api_key": "$OPENAI_API_KEY",
"frequency_penalty": 0.9,
"model": "gpt-3.5-turbo",
"model": "gpt-4o-mini",
"max_tokens": 512,
"prompt": "",
"proxy_url": "$OPENAI_PROXY_URL",
Expand Down Expand Up @@ -242,7 +242,7 @@
"base_url": "",
"api_key": "$OPENAI_API_KEY",
"frequency_penalty": 0.9,
"model": "gpt-3.5-turbo",
"model": "gpt-4o-mini",
"max_tokens": 512,
"prompt": "",
"proxy_url": "$OPENAI_PROXY_URL",
Expand Down Expand Up @@ -605,7 +605,7 @@
"base_url": "",
"api_key": "$OPENAI_API_KEY",
"frequency_penalty": 0.9,
"model": "gpt-3.5-turbo",
"model": "gpt-4o-mini",
"max_tokens": 512,
"prompt": "",
"proxy_url": "$OPENAI_PROXY_URL",
Expand Down
6 changes: 4 additions & 2 deletions agents/scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ copy_package() {
cp ten_packages/${package_type}/${package_name}/property.json .release/ten_packages/${package_type}/${package_name}/
fi


# package .py for python extensions
# TODO: package 'publish' contents only
cp ten_packages/${package_type}/${package_name}/*.py .release/ten_packages/${package_type}/${package_name}/ | true
Expand All @@ -43,6 +42,9 @@ copy_package() {
if [[ -d ten_packages/${package_type}/${package_name}/pb ]]; then
cp -r ten_packages/${package_type}/${package_name}/pb .release/ten_packages/${package_type}/${package_name}/
fi
if [[ -d ten_packages/${package_type}/${package_name}/src ]]; then
cp -r ten_packages/${package_type}/${package_name}/src .release/ten_packages/${package_type}/${package_name}/
fi
}

cp -r bin .release
Expand All @@ -51,7 +53,7 @@ cp property.json .release

# copy packages
mkdir -p .release/ten_packages
for package_type in system extension_group extension ; do
for package_type in system extension_group extension; do
for package_path in ten_packages/${package_type}/*; do
package_name=$(basename ${package_path})
copy_package ${package_type} ${package_name}
Expand Down
2 changes: 0 additions & 2 deletions server/internal/http_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ type HttpServerConfig struct {
Log2Stdout bool
PropertyJsonFile string
Port string
TTSVendorChinese string
TTSVendorEnglish string
WorkersMax int
WorkerQuitTimeoutSeconds int
}
Expand Down

0 comments on commit a1090a3

Please sign in to comment.