style(terraform): remove redundant vector store comments

This commit is contained in:
Julian Löffler 2026-09-28 10:11:06 +02:00
parent 4d0ab21009
commit b7f8dc71b8
No known key found for this signature in database
2 changed files with 0 additions and 6 deletions

View file

@ -30,8 +30,6 @@ func resourceLiteLLMVectorStoreCreate(d *schema.ResourceData, m interface{}) err
paramsMap[k] = v
}
// /vector_store/new rejects a missing vector_store_id, and the attribute is
// computed, so the provider has to mint the id it stores under.
vectorStoreID := uuid.New().String()
vectorStoreRequest := VectorStoreRequest{
@ -80,7 +78,6 @@ func resourceLiteLLMVectorStoreRead(d *schema.ResourceData, m interface{}) error
return nil
}
// /vector_store/info nests the store under "vector_store".
var infoResp struct {
VectorStore VectorStoreResponse `json:"vector_store"`
}

View file

@ -54,9 +54,6 @@ func TestVectorStoreReadDoesNotPersistServerLitellmParams(t *testing.T) {
}
}
// /vector_store/new 400s without a vector_store_id, and the attribute is
// computed, so create has to mint one and key the resource on it rather than on
// the store's name.
func TestVectorStoreCreateSendsGeneratedIDAndUsesItAsResourceID(t *testing.T) {
var createBody map[string]interface{}