ultravioletrs / cocos

Cocos AI - Confidential Computing System for AI
https://ultraviolet.rs/cocos.html
Apache License 2.0
25 stars 9 forks source link

COCOS-169 - Add support for algo arguments #202

Closed SammyOina closed 2 months ago

SammyOina commented 3 months ago

What type of PR is this?

This is a feature that adds support for algo arguments

What does this do?

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

No

Did you document any new/modified feature?

Yes

Notes

sequenceDiagram
    participant User
    participant CLI
    participant Context
    participant Algorithm

    User->>CLI: Run algorithm with options
    CLI->>Context: Store args with AlgorithmArgsToContext
    Context->>Algorithm: Initialize with args
    Algorithm->>Context: Retrieve args with AlgorithmArgsFromContext
    Algorithm->>User: Execute algorithm with provided args