In case you want to specify command line arguments and/or overriding the image entrypoint at submission time, you can leverage the command line interface. Here are the different use cases covered:
diambra agent submit <docker image> arg1 arg2
the correspondent submission manifest would use a new args
keyword as follows:
---
image: <docker image>
mode: AIvsCOM
version: v2.1
difficulty: easy
args:
- arg1
- arg2
diambra agent submit --submission.manifest manifest.yaml arg1 arg2 arg3
the resulting submission manifest sent to the platform would be
---
image: diambra/agent-random-1:2.1
mode: AIvsCOM
version: v2.1
difficulty: easy
args:
- arg1
- arg2
- arg3
diambra agent submit --submission.set-command <docker image> command arg1 arg2
the correspondent submission manifest would be:
---
image: <docker image>
mode: AIvsCOM
version: v2.1
difficulty: easy
command:
- command
- arg1
- arg2
diambra agent submit --submission.set-command --submission.manifest manifest.yaml command arg1 arg2
the resulting submission manifest sent to the platform would be
---
image: diambra/agent-random-1:2.1
mode: AIvsCOM
version: v2.1
difficulty: easy
command:
- command
- arg1
- arg2