mirror of
https://github.com/aljazceru/nostrdvm.git
synced 2025-12-20 15:34:26 +01:00
first version: dvm that provides users to block from reports of input pubkeys
This commit is contained in:
@@ -108,8 +108,9 @@ class SummarizationUnleashedChat(DVMTaskInterface):
|
||||
|
||||
for model in client.models.list():
|
||||
print('- ' + model.id)
|
||||
text = re.sub(r'^https?:\/\/.*[\r\n]*', '', str(options["prompt"]), flags=re.MULTILINE)
|
||||
|
||||
content = "Summarize the following notes: " + str(options["prompt"])[:3500]
|
||||
content = "Summarize the following notes: " + text[:3500]
|
||||
normal_stream = client.chat.completions.create(
|
||||
messages=[
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user