Commit a93cce75 authored by vicotor's avatar vicotor

add task content

parent 4a77a307
...@@ -23,17 +23,9 @@ enum BillingMethod { ...@@ -23,17 +23,9 @@ enum BillingMethod {
message TaskContent { message TaskContent {
string task_id = 1; string task_id = 1;
TaskType task_type = 2; string task_type = 2;
bytes task_param = 3; string task_cmd =3;
uint64 max_execute_duration = 4; bytes task_param = 4;
ModelContent model = 5; uint64 task_timestamp = 5;
} string task_callback = 6;
}
message ModelContent { \ No newline at end of file
string model_name = 1;
string model_type = 2; // 文生文/文生图等等
string model_instance = 3;
string require_power = 4;
BillingMethod billing = 5;
uint64 cost = 6;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment