Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify openai model, gpt-3.5-turbo -> gpt-4o-mini #258

Merged
merged 3 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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