Skip to content

Commit 7b78f58

Browse files
Merge pull request #212 from restackio/talkLogic
2 parents c501f3b + 1729c6e commit 7b78f58

File tree

86 files changed

+1854
-311
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+1854
-311
lines changed

agent_apis/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies = [
1111
"python-dotenv==1.0.1",
1212
"openai>=1.61.0",
1313
"aiohttp>=3.11.12",
14-
"restack-ai>=0.0.80",]
14+
"restack-ai>=0.0.81",]
1515

1616
[project.scripts]
1717
dev = "src.services:watch_services"

agent_apis/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ python-dotenv==1.0.1
6969
# via
7070
# openai-greet (pyproject.toml)
7171
# restack-ai
72-
restack-ai==0.0.80
72+
restack-ai==0.0.81
7373
# via openai-greet (pyproject.toml)
7474
sniffio==1.3.1
7575
# via

agent_chat/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies = [
1010
"watchfiles>=1.0.4",
1111
"python-dotenv==1.0.1",
1212
"openai>=1.61.0",
13-
"restack-ai>=0.0.80",]
13+
"restack-ai>=0.0.81",]
1414

1515
[project.scripts]
1616
dev = "src.services:watch_services"

agent_chat/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ python-dotenv==1.0.1
6767
# via
6868
# agent-chat (pyproject.toml)
6969
# restack-ai
70-
restack-ai==0.0.80
70+
restack-ai==0.0.81
7171
# via agent-chat (pyproject.toml)
7272
sniffio==1.3.1
7373
# via

agent_humanloop/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requires-python = ">=3.10,<3.14"
77
readme = "README.md"
88
dependencies = [
99
"pydantic>=2.10.6",
10-
"restack-ai==0.0.80",
10+
"restack-ai==0.0.81",
1111
"watchfiles>=1.0.4",
1212
"python-dotenv==1.0.1",
1313
]

agent_humanloop/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ python-dotenv==1.0.1
4646
# via
4747
# human-loop (pyproject.toml)
4848
# restack-ai
49-
restack-ai==0.0.80
49+
restack-ai==0.0.81
5050
# via human-loop (pyproject.toml)
5151
sniffio==1.3.1
5252
# via anyio

agent_rag/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies = [
1111
"watchfiles>=1.0.4",
1212
"requests==2.32.3",
1313
"python-dotenv==1.0.1",
14-
"restack-ai>=0.0.80",]
14+
"restack-ai>=0.0.81",]
1515

1616
[project.scripts]
1717
dev = "src.services:watch_services"

agent_rag/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ python-dotenv==1.0.1
7373
# restack-ai
7474
requests==2.32.3
7575
# via agent-rag (pyproject.toml)
76-
restack-ai==0.0.80
76+
restack-ai==0.0.81
7777
# via agent-rag (pyproject.toml)
7878
sniffio==1.3.1
7979
# via

agent_stream/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies = [
1111
"python-dotenv==1.0.1",
1212
"openai>=1.61.0",
1313
"livekit-api>=0.8.2",
14-
"restack-ai>=0.0.80",
14+
"restack-ai>=0.0.81",
1515
]
1616

1717
[project.scripts]

agent_stream/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ python-dotenv==1.0.1
7878
# via
7979
# agent-stream (pyproject.toml)
8080
# restack-ai
81-
restack-ai==0.0.80
81+
restack-ai==0.0.81
8282
# via agent-stream (pyproject.toml)
8383
sniffio==1.3.1
8484
# via

agent_telephony/twilio_livekit/agent_twilio/.env.Example

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11

22
RESTACK_API_KEY=
3+
OPENAI_API_KEY=
4+
35
LIVEKIT_API_KEY=
46
LIVEKIT_API_SECRET=
57
LIVEKIT_URL=
68

7-
LIVEKIT_SIP_ADDRESS=
89
TWILIO_PHONE_NUMBER=
910
TWILIO_TRUNK_AUTH_USERNAME=
1011
TWILIO_TRUNK_AUTH_PASSWORD=
12+
TWILIO_TRUNK_TERMINATION_SIP_URL=
1113

1214
ELEVEN_API_KEY=
1315
DEEPGRAM_API_KEY=
1416
OPENAI_API_KEY=
1517

18+
GCP_CREDENTIALS=
19+
1620
# Restack Cloud (Optional)
1721

1822
# RESTACK_ENGINE_ID=<your-engine-id>

agent_telephony/twilio_livekit/agent_twilio/event_agent.py

+11-2
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,23 @@ async def main(agent_id: str, run_id: str) -> None:
1111
agent_id=agent_id,
1212
run_id=run_id,
1313
event_name="call",
14-
event_input={"messages": [{"role": "user", "content": "Tell me another joke"}]},
14+
event_input={
15+
"messages": [
16+
{
17+
"role": "user",
18+
"content": "What is Restack framework?",
19+
}
20+
]
21+
},
1522
)
1623

1724
sys.exit(0)
1825

1926

2027
def run_event_workflow() -> None:
21-
asyncio.run(main(agent_id="your-agent-id", run_id="your-run-id"))
28+
asyncio.run(
29+
main(agent_id="agent-id", run_id="run-id")
30+
)
2231

2332

2433
if __name__ == "__main__":

agent_telephony/twilio_livekit/agent_twilio/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies = [
1111
"python-dotenv==1.0.1",
1212
"openai>=1.61.0",
1313
"livekit-api>=0.8.2",
14-
"restack-ai>=0.0.80",]
14+
"restack-ai>=0.0.81",]
1515

1616
[project.scripts]
1717
dev = "src.services:watch_services"

agent_telephony/twilio_livekit/agent_twilio/schedule_agent.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ async def main() -> None:
1414
agent_name=AgentStream.__name__, agent_id=agent_id
1515
)
1616

17-
await client.get_agent_result(agent_id=agent_id, run_id=run_id)
17+
await client.get_agent_result(
18+
agent_id=agent_id, run_id=run_id
19+
)
1820

1921
sys.exit(0)
2022

0 commit comments

Comments
 (0)