You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ballerina-interpreter/README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,8 +48,17 @@ docker run -v /path/to/agent.afm.md:/app/agent.afm.md \
48
48
-e afmFilePath=/app/agent.afm.md \
49
49
-p 8085:8085 \
50
50
afm-ballerina-interpreter
51
+
52
+
# Run with skills (mount the skills directory so the agent can discover them)
53
+
docker run -v /path/to/agent.afm.md:/app/agent.afm.md \
54
+
-v /path/to/skills:/app/skills \
55
+
-e afmFilePath=/app/agent.afm.md \
56
+
-p 8085:8085 \
57
+
afm-ballerina-interpreter
51
58
```
52
59
60
+
When using local skills, the `path` in the AFM file should be relative to the AFM file's location. For example, if the AFM file is at `/app/agent.afm.md` and skills are mounted at `/app/skills`, use `path: "./skills"` in the AFM file.
0 commit comments