Compare commits
2 commits
a2942d07fe
...
b6bd215eff
| Author | SHA1 | Date | |
|---|---|---|---|
| b6bd215eff | |||
| daca5ee05b |
3 changed files with 4 additions and 1 deletions
|
|
@ -31,6 +31,7 @@ COPY --from=builder /app/.venv /app/.venv
|
|||
ENV PATH="/app/.venv/bin:$PATH"
|
||||
|
||||
COPY src/ /app/src/
|
||||
COPY configs/ /app/configs/
|
||||
COPY Makefile ./
|
||||
COPY .mk/ ./.mk/
|
||||
RUN chown root:root /app && chmod 700 /app
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ services:
|
|||
agent_api: ${AGENT_API_PATH}
|
||||
volumes:
|
||||
- ./src:/app/src
|
||||
- ./configs:/app/configs
|
||||
- ${AGENT_API_PATH}:/agent_api/
|
||||
- ./data/workspace:/workspace/
|
||||
- ./data/internal:/internal_data/
|
||||
|
|
|
|||
|
|
@ -36,7 +36,8 @@ def create_agent() -> Agent:
|
|||
logger.info(f"Init composio with user_id: {composio_user_id}")
|
||||
session = composio.create(user_id=composio_user_id)
|
||||
tools = session.tools()
|
||||
logger.debug(f"Composio tools: {tools} for user_id: {composio_user_id}")
|
||||
tool_names = [t.name for t in tools] if tools else []
|
||||
logger.debug(f"Composio tools ({len(tool_names)}): {tool_names} for user_id: {composio_user_id}")
|
||||
|
||||
workspace_dir = os.environ["WORKSPACE_DIR"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue