diff --git a/terraform/provider/litellm/resource_vector_store_crud.go b/terraform/provider/litellm/resource_vector_store_crud.go index 101fd69a0e3..b8718646174 100644 --- a/terraform/provider/litellm/resource_vector_store_crud.go +++ b/terraform/provider/litellm/resource_vector_store_crud.go @@ -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"` } diff --git a/terraform/provider/litellm/resource_vector_store_crud_test.go b/terraform/provider/litellm/resource_vector_store_crud_test.go index 268780be243..424895b2a03 100644 --- a/terraform/provider/litellm/resource_vector_store_crud_test.go +++ b/terraform/provider/litellm/resource_vector_store_crud_test.go @@ -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{}