Skip to content

Commit

Permalink
fix: coderabbit suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
borisarzentar committed Oct 14, 2024
1 parent 9bf2cc9 commit acd7f10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cognee/api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ async def get_datasets(user: User = Depends(get_authenticated_user)):
async def delete_dataset(dataset_id: str, user: User = Depends(get_authenticated_user)):
from cognee.modules.data.methods import get_dataset, delete_dataset

dataset = get_dataset(user.id, dataset_id)
dataset = await get_dataset(user.id, dataset_id)

if dataset is None:
raise HTTPException(
Expand Down
2 changes: 1 addition & 1 deletion cognee/modules/settings/get_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class LLMConfig(BaseModel):
api_key: str
model: ConfigChoice
provider: ConfigChoice
models: dict[ModelName, list[ConfigChoice]]
models: dict[str, list[ConfigChoice]]
providers: list[ConfigChoice]

class VectorDBConfig(BaseModel):
Expand Down

0 comments on commit acd7f10

Please sign in to comment.