(model)
| 15 | current_prompt_tokens, current_completion_tokens = 0, 0 |
| 16 | |
| 17 | def set_model(model): |
| 18 | global model_name |
| 19 | model_name = model |
| 20 | |
| 21 | async def gen(msg, model=None, temperature=None, response_format="json_object"): |
| 22 | global call_count, cost, current_prompt_tokens, current_completion_tokens, model_name |
no outgoing calls
no test coverage detected