mirror of
https://github.com/Jerryplusy/AI-powered-switches.git
synced 2025-10-14 09:49:19 +00:00
更正
This commit is contained in:
parent
6a21cdef9a
commit
c64e983fba
@ -15,7 +15,7 @@ class AIService:
|
|||||||
self.client = AsyncOpenAI(
|
self.client = AsyncOpenAI(
|
||||||
api_key=self.api_key,
|
api_key=self.api_key,
|
||||||
base_url=self.api_url,
|
base_url=self.api_url,
|
||||||
# timeout=httpx.Timeout(30.0)
|
timeout=httpx.Timeout(30.0)
|
||||||
)
|
)
|
||||||
|
|
||||||
async def parse_command(self, command: str, vendor: str = "huawei") -> Any | None:
|
async def parse_command(self, command: str, vendor: str = "huawei") -> Any | None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user