Skip to content

Commit

Permalink
ignore typing/spice error for now
Browse files Browse the repository at this point in the history
  • Loading branch information
granawkins committed Apr 5, 2024
1 parent b048a1a commit 952ef2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mentat/llm_api_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ async def call_llm_api(

# TODO: make spice message format and use across codebase consistently
_messages = [
{"role": cast(str, message["role"]), "content": cast(str, message["content"])} for message in messages
{"role": cast(str, message["role"]), "content": cast(str, message["content"])} # type: ignore
for message in messages
]
if "type" in response_format and response_format["type"] == "json_object":
_response_format = {"type": "json_object"}
Expand Down

0 comments on commit 952ef2c

Please sign in to comment.