MSalvalaggio/jev-reflex on GitHub
- Stars
- 0
- Forks
- 1
- Language
- Python
- License
- MIT
- Last push
- 18 Sep 2026
Read from GitHub on . Counts change daily.
How it uses Jev
started = time.perf_counter()
result = post_json("https://api.typesafe.ai/v1/systemone", os.environ["TYPESAFE_API_KEY"], body)
choice = validate_choice(result["answers"].get("value", {}), criteria)["choice"]
if choice == NO_VALUE:
raise ValueError(f"No supplied value fits the field {context['field']['label']!r}; nothing typed.")
helper = {"model": result["model"], "latency_ms": round((time.perf_counter() - started) * 1000)}
return values[int(choice) - 1], {**helper, "usage": result.get("usage", {})}
# ponytail: swaps the text hook of the pinned upstream commit; recheck agent.py when bumping the pin.
upstream.field_text = pick_value
def summarize(state, status=None, error=None):
"""Reduce an Agent snapshot to what the calling model needs to verify the outcome or take over."""View in src/jev_reflex/__init__.py



