feat: Add reported context offset functionality and update related configurations
This commit is contained in:
10
start.sh
10
start.sh
@@ -20,4 +20,12 @@ if [[ -n "${OLLAMA_OAI_BRIDGE_OPTS:-}" ]]; then
|
||||
read -r -a app_opts <<<"${OLLAMA_OAI_BRIDGE_OPTS}"
|
||||
fi
|
||||
|
||||
exec java "${java_opts[@]}" "${app_opts[@]}" -jar "$jar_file" "$@"
|
||||
for arg in "$@"; do
|
||||
if [[ "$arg" == -D* ]]; then
|
||||
java_opts+=("$arg")
|
||||
else
|
||||
app_opts+=("$arg")
|
||||
fi
|
||||
done
|
||||
|
||||
exec java "${java_opts[@]}" -jar "$jar_file" "${app_opts[@]}"
|
||||
Reference in New Issue
Block a user