Fix missing import

This commit is contained in:
hlohaus 2025-06-19 06:29:26 +02:00
parent 4337fa7fa8
commit aa92c2225e
2 changed files with 1 additions and 1 deletions

View file

@ -133,7 +133,7 @@ class Backend_Api(Api):
json_data["provider"] = random.choice(models.demo_models[model][1])
else:
json_data["provider"] = models.HuggingFace
debug.log("User:", request.headers)
debug.log("User:", request.headers.get("x_user", "unknown"))
kwargs = self._prepare_conversation_kwargs(json_data)
return self.app.response_class(
self._create_response_stream(