MCPcopy Create free account
hub / github.com/BerriAI/litellm / _commit_code_only

Function _commit_code_only

tests/unit/test_cost_map_guard.py:370–373  ·  view source on GitHub ↗
(repo: Path, message: str)

Source from the content-addressed store, hash-verified

368
369
370def _commit_code_only(repo: Path, message: str) -> str:
371 (repo / "litellm").mkdir(exist_ok=True)
372 (repo / "litellm" / "utils.py").write_text(f"print('{message}')\n")
373 return _git_commit(repo, message)
374
375
376def _git_commit(repo: Path, message: str) -> str:

Calls 1

_git_commitFunction · 0.85

Tested by

no test coverage detected