Skip to content

Commit

Permalink
type checking fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Apr 1, 2024
1 parent de63f5b commit e860588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vision_agent/agent/vision_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def __init__(
OpenAILLM(temperature=0.1) if answer_model is None else answer_model
)
self.reflect_model = (
OpenAILMM(temperature=0.0) if reflect_model is None else reflect_model
OpenAILMM(temperature=0.1) if reflect_model is None else reflect_model
)
self.max_retries = max_retries

Expand Down
2 changes: 1 addition & 1 deletion vision_agent/llm/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def generate(self, prompt: str) -> str:
messages=[
{"role": "user", "content": prompt},
],
**self.kwargs, # type: ignore
**self.kwargs,
)

return cast(str, response.choices[0].message.content)
Expand Down

0 comments on commit e860588

Please sign in to comment.