Commit Diff


commit - 72369ce560a951963e78178a37904898278f1275
commit + bd4ce114c04c569958acb4d8c7ecb00465221fb3
blob - 4a6a0b39bb69dddf944dcf9d6b66b9cfdd438de2
blob + 27aef64b676a26d072e9df23f43b707b081aa2ca
--- regress/openai/run.sh
+++ regress/openai/run.sh
@@ -27,7 +27,7 @@ openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curv
     >/dev/null 2>&1
 
 lx=$dir/libexec/fugu
-mkdir -p "$lx" "$dir/home"
+mkdir -p "$lx" "$dir/home" "$dir/project"
 for w in fugu-tty fugu-api fugu-web fugu-tool fugu-artifact fugu-editor; do
 	b=$root/src/$w/obj/$w
 	[ -x "$b" ] || b=$root/src/$w/$w
@@ -55,7 +55,7 @@ api_key "sk-openai-test"
 project_context no
 EOF
 
-(cd "$dir" && HOME=$dir/home FUGU_CONF=$dir/fugu.conf \
+(cd "$dir/project" && HOME=$dir/home FUGU_CONF=$dir/fugu.conf \
     FUGU_LIBEXEC=$lx FUGU_CA_FILE=$dir/cert.pem \
     "$fugu" -p "say hi" >"$dir/out" 2>"$dir/errout")
 rc=$?