This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3.12 | |
| """ | |
| LiteLLM to Aider Configuration Generator | |
| This tool generates configuration files that allow Aider to work seamlessly with LiteLLM models. | |
| It can generate both model settings (YAML) and model metadata (JSON) files. | |
| The generated configurations correctly handle model names in the format "litellm/provider/model" | |
| by using Aider's extra_params feature to pass the proper model name format to LiteLLM. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| oh-my-zsh diagnostic dump | |
| omz_diagdump_20151001-051810.txt | |
| Thu Oct 1 05:18:10 CDT 2015 | |
| Darwin lam-macbook-pro.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64 | |
| OSTYPE=darwin14.5.0 | |
| ZSH_VERSION=5.1.1 | |
| User: lmauldin | |
| umask: 022 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict' | |
| function CalcModel (principal, rate, time) { | |
| this.principal = principal; | |
| this.rate = rate; | |
| this.time = time; | |
| this.totalInterest = function() { | |
| //Hardcode return | |
| return principal * rate * time; |