- ollama serve
- ollama pull mistral
- ollama pull codellama
- conda create -n autogen python=3.11
- conda activate autogen
| #!/usr/bin/python | |
| import re | |
| import os | |
| from datetime import datetime, timedelta, timezone | |
| reset_pattern = re.compile(r"Your limit will reset at (\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})") | |
| alert_date_pattern = re.compile(r"^(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})") | |
| five_hours_pattern = re.compile(r"Usage limit reached for 5 hour") | |
| last_match = None |
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| // choose either `'stable'` for receiving highly polished, | |
| // or `'canary'` for less polished but more frequent updates | |
| updateChannel: 'stable', |