File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,14 @@ class LLMCallRequest(SQLModel):
130130 """User-facing API request for LLM completion."""
131131
132132 query : QueryParams = Field (..., description = "Query-specific parameters" )
133- config : LLMCallConfig = Field (..., description = "Configuration for the LLM call" )
133+ config : LLMCallConfig = Field (
134+ ...,
135+ description = (
136+ "Complete LLM call configuration, provided either by reference (id + version) "
137+ "or as config blob. Use the blob only for testing/validation; "
138+ "in production, always use the id + version."
139+ ),
140+ )
134141 callback_url : HttpUrl | None = Field (
135142 default = None , description = "Webhook URL for async response delivery"
136143 )
Original file line number Diff line number Diff line change 1010 create_test_project ,
1111 create_test_version ,
1212)
13+ from app .models import ConfigBlob , CompletionConfig
1314
1415
1516def test_create_version_success (
@@ -297,9 +298,6 @@ def test_get_version_by_number(
297298 name = "test-config" ,
298299 )
299300
300- # Create additional version
301- from app .models .llm .request import ConfigBlob , CompletionConfig
302-
303301 version = create_test_version (
304302 db = db ,
305303 config_id = config .id ,
You can’t perform that action at this time.
0 commit comments