mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-01 07:58:23 +00:00
remove field
This commit is contained in:
1 parent
f00dc3a006
commit
6fc2fa7fe2
2 files changed
-3
No files matched your search
@@ -31,8 +31,6 @@ pub struct BatchGetPromptsResponse {
|
||||
pub struct BatchPromptInfo {
|
||||
pub token: PromptToken,
|
||||
|
||||
pub prompt_type: PromptType,
|
||||
|
||||
/// The type of model used
|
||||
pub maybe_model_type: Option<CommonModelType>,
|
||||
|
||||
|
||||
-1
@@ -131,7 +131,6 @@ pub async fn batch_get_prompts_handler(
|
||||
|
||||
BatchPromptInfo {
|
||||
token: result.token,
|
||||
prompt_type: result.prompt_type,
|
||||
maybe_model_class: result.maybe_model_type.map(|ty| ty.get_model_class()),
|
||||
maybe_model_type: result.maybe_model_type,
|
||||
maybe_generation_provider: result.maybe_generation_provider,
|
||||
|
||||
Reference in new issue
Block a user