mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
feat: Add support for making HTTP requests in the Model class
This commit is contained in:
parent
5e8f9f72cc
commit
539a657624
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ import json
|
|||
import math
|
||||
import os
|
||||
import platform
|
||||
import requests
|
||||
import sys
|
||||
import time
|
||||
from dataclasses import dataclass, fields
|
||||
|
@ -433,6 +434,7 @@ class Model(ModelSettings):
|
|||
self.weak_model = None
|
||||
|
||||
self.info = self.get_model_info(model)
|
||||
dump(self.info)
|
||||
|
||||
# Are all needed keys/params available?
|
||||
res = self.validate_environment()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue