forked from phoenix-oss/llama-stack-mirror
Remove dependence on os.environ["USER"]
This commit is contained in:
parent
6c69e09c6a
commit
f6b5e394ab
2 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
|
||||
import logging
|
||||
import os
|
||||
import tempfile
|
||||
import uuid
|
||||
from typing import AsyncGenerator
|
||||
|
||||
|
@ -71,7 +71,7 @@ class MetaReferenceAgenticSystemImpl(AgenticSystem):
|
|||
tool = CodeInterpreterTool()
|
||||
elif isinstance(tool_defn, PhotogenToolDefinition):
|
||||
tool = PhotogenTool(
|
||||
dump_dir="/tmp/photogen_dump_" + os.environ["USER"],
|
||||
dump_dir=tempfile.mkdtemp(),
|
||||
)
|
||||
else:
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue