chore: auto-commit (95 archivos)
- cmd/fn/doctor.go - cmd/fn/main.go - cpp/apps/primitives_gallery/playground/tables/CMakeLists.txt - cpp/apps/primitives_gallery/playground/tables/data_table.cpp - cpp/apps/primitives_gallery/playground/tables/data_table_logic.cpp - cpp/apps/primitives_gallery/playground/tables/data_table_logic.h - cpp/apps/primitives_gallery/playground/tables/self_test.cpp - cpp/apps/primitives_gallery/playground/tables/tql.cpp - cpp/apps/primitives_gallery/playground/tables/viz.cpp - cpp/apps/primitives_gallery/playground/tables/viz.h - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package ml
|
||||
|
||||
// GenerationConfig parametriza una solicitud de generacion de imagen.
|
||||
// Espejo JSON-compatible de GenerationConfig_py_ml: los tags json coinciden
|
||||
// con los campos snake_case del dataclass Python para roundtrip sin perdida.
|
||||
type GenerationConfig struct {
|
||||
Prompt string `json:"prompt"`
|
||||
NegativePrompt string `json:"negative_prompt,omitempty"`
|
||||
Seed int64 `json:"seed"`
|
||||
Steps int `json:"steps"`
|
||||
CfgScale float64 `json:"cfg_scale"`
|
||||
Sampler string `json:"sampler"`
|
||||
Width int `json:"width"`
|
||||
Height int `json:"height"`
|
||||
Model ModelRef `json:"model"`
|
||||
Loras []LoraRef `json:"loras,omitempty"`
|
||||
ClipSkip *int `json:"clip_skip,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user