Skip to content

Commit

Permalink
style: fix JSON formatting in test_rest_api.py per ruff-format
Browse files Browse the repository at this point in the history
Co-Authored-By: Alex Reibman <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and areibman committed Dec 19, 2024
1 parent ad98c3b commit 3761f46
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions tests/test_rest_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,11 @@ def test_create_events(self) -> bool:
"model": "gpt-4",
"prompt": [
{"role": "system", "content": "You are a helpful assistant"},
{"role": "user", "content": "Analyze this data..."}
{"role": "user", "content": "Analyze this data..."},
],
"completion": {
"role": "assistant",
"content": "Based on the data..."
},
"completion": {"role": "assistant", "content": "Based on the data..."},
"prompt_tokens": 150,
"completion_tokens": 80
"completion_tokens": 80,
},
{
"id": str(uuid.uuid4()),
Expand All @@ -92,8 +89,8 @@ def test_create_events(self) -> bool:
"end_timestamp": now,
"session_id": self.session_id,
"input": "SELECT * FROM users",
"output": "Retrieved 5 users"
}
"output": "Retrieved 5 users",
},
]
}

Expand Down

0 comments on commit 3761f46

Please sign in to comment.