Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agent_apis/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies = [
"python-dotenv==1.0.1",
"openai>=1.61.0",
"aiohttp>=3.11.12",
"restack-ai>=0.0.80",]
"restack-ai>=0.0.81",]

[project.scripts]
dev = "src.services:watch_services"
Expand Down
2 changes: 1 addition & 1 deletion agent_apis/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ python-dotenv==1.0.1
# via
# openai-greet (pyproject.toml)
# restack-ai
restack-ai==0.0.80
restack-ai==0.0.81
# via openai-greet (pyproject.toml)
sniffio==1.3.1
# via
Expand Down
2 changes: 1 addition & 1 deletion agent_chat/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies = [
"watchfiles>=1.0.4",
"python-dotenv==1.0.1",
"openai>=1.61.0",
"restack-ai>=0.0.80",]
"restack-ai>=0.0.81",]

[project.scripts]
dev = "src.services:watch_services"
Expand Down
2 changes: 1 addition & 1 deletion agent_chat/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ python-dotenv==1.0.1
# via
# agent-chat (pyproject.toml)
# restack-ai
restack-ai==0.0.80
restack-ai==0.0.81
# via agent-chat (pyproject.toml)
sniffio==1.3.1
# via
Expand Down
2 changes: 1 addition & 1 deletion agent_humanloop/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ requires-python = ">=3.10,<3.14"
readme = "README.md"
dependencies = [
"pydantic>=2.10.6",
"restack-ai==0.0.80",
"restack-ai==0.0.81",
"watchfiles>=1.0.4",
"python-dotenv==1.0.1",
]
Expand Down
2 changes: 1 addition & 1 deletion agent_humanloop/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ python-dotenv==1.0.1
# via
# human-loop (pyproject.toml)
# restack-ai
restack-ai==0.0.80
restack-ai==0.0.81
# via human-loop (pyproject.toml)
sniffio==1.3.1
# via anyio
Expand Down
2 changes: 1 addition & 1 deletion agent_rag/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies = [
"watchfiles>=1.0.4",
"requests==2.32.3",
"python-dotenv==1.0.1",
"restack-ai>=0.0.80",]
"restack-ai>=0.0.81",]

[project.scripts]
dev = "src.services:watch_services"
Expand Down
2 changes: 1 addition & 1 deletion agent_rag/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ python-dotenv==1.0.1
# restack-ai
requests==2.32.3
# via agent-rag (pyproject.toml)
restack-ai==0.0.80
restack-ai==0.0.81
# via agent-rag (pyproject.toml)
sniffio==1.3.1
# via
Expand Down
2 changes: 1 addition & 1 deletion agent_stream/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies = [
"python-dotenv==1.0.1",
"openai>=1.61.0",
"livekit-api>=0.8.2",
"restack-ai>=0.0.80",
"restack-ai>=0.0.81",
]

[project.scripts]
Expand Down
2 changes: 1 addition & 1 deletion agent_stream/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ python-dotenv==1.0.1
# via
# agent-stream (pyproject.toml)
# restack-ai
restack-ai==0.0.80
restack-ai==0.0.81
# via agent-stream (pyproject.toml)
sniffio==1.3.1
# via
Expand Down
6 changes: 5 additions & 1 deletion agent_telephony/twilio_livekit/agent_twilio/.env.Example
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@

RESTACK_API_KEY=
OPENAI_API_KEY=

LIVEKIT_API_KEY=
LIVEKIT_API_SECRET=
LIVEKIT_URL=

LIVEKIT_SIP_ADDRESS=
TWILIO_PHONE_NUMBER=
TWILIO_TRUNK_AUTH_USERNAME=
TWILIO_TRUNK_AUTH_PASSWORD=
TWILIO_TRUNK_TERMINATION_SIP_URL=

ELEVEN_API_KEY=
DEEPGRAM_API_KEY=
OPENAI_API_KEY=

GCP_CREDENTIALS=

# Restack Cloud (Optional)

# RESTACK_ENGINE_ID=<your-engine-id>
Expand Down
13 changes: 11 additions & 2 deletions agent_telephony/twilio_livekit/agent_twilio/event_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,23 @@ async def main(agent_id: str, run_id: str) -> None:
agent_id=agent_id,
run_id=run_id,
event_name="call",
event_input={"messages": [{"role": "user", "content": "Tell me another joke"}]},
event_input={
"messages": [
{
"role": "user",
"content": "What is Restack framework?",
}
]
},
)

sys.exit(0)


def run_event_workflow() -> None:
asyncio.run(main(agent_id="your-agent-id", run_id="your-run-id"))
asyncio.run(
main(agent_id="agent-id", run_id="run-id")
)


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion agent_telephony/twilio_livekit/agent_twilio/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies = [
"python-dotenv==1.0.1",
"openai>=1.61.0",
"livekit-api>=0.8.2",
"restack-ai>=0.0.80",]
"restack-ai>=0.0.81",]

[project.scripts]
dev = "src.services:watch_services"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ async def main() -> None:
agent_name=AgentStream.__name__, agent_id=agent_id
)

await client.get_agent_result(agent_id=agent_id, run_id=run_id)
await client.get_agent_result(
agent_id=agent_id, run_id=run_id
)

sys.exit(0)

Expand Down
Loading