Skip to content

Commit

Permalink
🐞 fix:
Browse files Browse the repository at this point in the history
  • Loading branch information
DrinkLessMilkTea committed Jul 17, 2024
1 parent 3439def commit 7d5b8bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WorkerNodePython/WorkerNode/WorkerNode.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ def createConsumer(url):
def run():
global queue,errorMode,errorData
if nodeType == 'local':
localInit()
if not model == 'LLaMA_CPP':
errorMode = True
errorData = {
Expand All @@ -100,6 +99,8 @@ def run():
}
}
Event.createEvent(apiInstance,AIModelNamespace,AIModelName,'ConfigurationError','unspported model ' + model)
else:
localInit()

global pulsarClient,consumer

Expand Down

0 comments on commit 7d5b8bb

Please sign in to comment.