Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Aug 26, 2024
1 parent 3f2867e commit c9ea03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vision_agent/utils/sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def emb_call(text: List[str]) -> List[float]:
resp = requests.post(
base_url, json={"prompt": text[0], "model": model_name}
)
return resp.json()["embedding"]
return resp.json()["embedding"] # type: ignore

self.emb_call = emb_call

Expand Down

0 comments on commit c9ea03f

Please sign in to comment.