Edited: 1. agent.py - добавление базового функционала метода stream_responce. 2. Добавлены/отредактированы chat.js, style.css. 3. flask.py добавлен блок инициализации объектов OllamaProvider, Character, Agent
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"summary": "",
|
||||
"history": [
|
||||
{
|
||||
"role": "assistant",
|
||||
"content": "Привет! Я тестовый персонаж."
|
||||
},
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Привет"
|
||||
},
|
||||
{
|
||||
"role": "assistant",
|
||||
"content": "*A sigh, almost inaudible, escapes before the words form, a low rumble in the chest.* “Привет, Alex. It’s… strange, isn’t it? Just *привет*.” The rain outside is relentless, drumming a mournful rhythm against the corrugated iron roof. It smells of wet earth and something vaguely metallic, something that clings to the back of the throat. *Focus. Don't get lost in the rain.* “This place… it feels like a bruise. A deep, slow-healing bruise.”\n\nThe character, let’s call him Silas, is sitting at a rough-hewn table in a dimly lit room. A single, sputtering oil lamp casts flickering shadows across his weathered face – a face etched with a thousand unspoken stories. He's wearing worn leather trousers, a stained linen shirt, and a perpetually skeptical expression. His hands, calloused and scarred, fidget with a small, intricately carved wooden bird. It’s a pointless action, really, but it seems to occupy his thoughts, a tiny, insistent anchor in the swirling chaos. \n\n*He observes Alex with a quiet intensity, a flicker of something akin to amusement in his grey eyes.* “You’re… new, aren’t you? The air around you feels… clean. Like someone just scrubbed it with a particularly aggressive brush. It’s jarring, honestly. Most people here carry a certain… thickness. A"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user