mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
style(terraform): remove redundant vector store comments
This commit is contained in:
parent
4d0ab21009
commit
b7f8dc71b8
2 changed files with 0 additions and 6 deletions
|
|
@ -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"`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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{}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue