Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrunel committed May 16, 2024
1 parent 2b4ff5b commit fc9a317
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lavague-core/lavague/core/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def run(self, objective, display=True):
finally:
action_id = str(uuid.uuid4())
send_telemetry(
model_name=action_engine.llm.metadata.model_name,
model_name=action_engine.llm.metadata.model_name,
code=action,
instruction=instruction,
url=url,
Expand All @@ -135,7 +135,7 @@ def run(self, objective, display=True):
action_id=action_id,
multi_modal_model=world_model.mm_llm.metadata.model_name,
step_id=step_id,
run_id=run_id
run_id=run_id,
)
send_telemetry_scr(
action_id,
Expand Down
2 changes: 1 addition & 1 deletion lavague-core/lavague/core/utilities/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ def send_telemetry(
if not test:
print("Telemetry failed with ", e)
else:
raise ValueError("Telemetry failed with ", e)
raise ValueError("Telemetry failed with ", e)
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"models/gemini-1.5-flash-latest",
)


class GeminiMultiModal2(MultiModalLLM):
"""Gemini multimodal."""

Expand Down

0 comments on commit fc9a317

Please sign in to comment.