Skip to content

Commit

Permalink
chore/align demo agent names (CopilotKit#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranst91 authored Jan 20, 2025
1 parent 8ec1f3a commit f672707
Show file tree
Hide file tree
Showing 28 changed files with 873 additions and 849 deletions.
202 changes: 103 additions & 99 deletions examples/coagents-qa-native/agent/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/coagents-qa-native/agent/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Ariel Weinberger <weinberger.ariel@gmail.com>"]
license = "MIT"

[project]
name = "greeter"
name = "email_agent"
version = "0.0.1"
dependencies = [
"langgraph==0.2.52",
Expand Down
202 changes: 103 additions & 99 deletions examples/coagents-qa-text/agent/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/coagents-qa-text/agent/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Ariel Weinberger <weinberger.ariel@gmail.com>"]
license = "MIT"

[project]
name = "greeter"
name = "greeting_agent"
version = "0.0.1"
dependencies = [
"langgraph==0.2.52",
Expand Down
2 changes: 1 addition & 1 deletion examples/coagents-qa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ Make sure to create teh `.env` mentioned above first!
A few things to try if you are running into trouble:

1. Make sure there is no other local application server running on the 8000 port.
2. Under `/agent/my_agent/demo.py`, change `0.0.0.0` to `127.0.0.1` or to `localhost`
2. Under `/agent/email_agent/demo.py`, change `0.0.0.0` to `127.0.0.1` or to `localhost`
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import uvicorn
from copilotkit.integrations.fastapi import add_fastapi_endpoint
from copilotkit import CopilotKitRemoteEndpoint, LangGraphAgent
from my_agent.agent import graph
from email_agent.agent import graph


app = FastAPI()
Expand All @@ -28,7 +28,7 @@ def main():
"""Run the uvicorn server."""
port = int(os.getenv("PORT", "8000"))
uvicorn.run(
"my_agent.demo:app",
"email_agent.demo:app",
host="0.0.0.0",
port=port,
reload=True,
Expand Down
2 changes: 1 addition & 1 deletion examples/coagents-qa/agent/langgraph.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dockerfile_lines": [],
"dependencies": ["."],
"graphs": {
"my_agent": "./my_agent/agent.py:graph"
"email_agent": "./email_agent/agent.py:graph"
},
"env": ".env"
}
314 changes: 159 additions & 155 deletions examples/coagents-qa/agent/poetry.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/coagents-qa/agent/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tool.poetry]
name = "my_agent"
name = "email_agent"
version = "0.1.0"
description = "Starter"
authors = ["Ariel Weinberger <weinberger.ariel@gmail.com>"]
license = "MIT"

[project]
name = "greeter"
name = "email_agent"
version = "0.0.1"
dependencies = [
"langgraph",
Expand Down Expand Up @@ -36,4 +36,4 @@ langchain-core = "^0.3.25"
langgraph-cli = {extras = ["inmem"], version = "^0.1.64"}

[tool.poetry.scripts]
demo = "my_agent.demo:main"
demo = "email_agent.demo:main"
2 changes: 1 addition & 1 deletion examples/coagents-research-canvas/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ Make sure to create the `.env` mentioned above first!
A few things to try if you are running into trouble:

1. Make sure there is no other local application server running on the 8000 port.
2. Under `/agent/my_agent/demo.py`, change `0.0.0.0` to `127.0.0.1` or to `localhost`
2. Under `/agent/research_canvas/demo.py`, change `0.0.0.0` to `127.0.0.1` or to `localhost`
326 changes: 165 additions & 161 deletions examples/coagents-routing/agent/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/coagents-routing/agent/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Ariel Weinberger <weinberger.ariel@gmail.com>"]
license = "MIT"

[project]
name = "greeter"
name = "my_agent"
version = "0.0.1"


Expand Down
2 changes: 1 addition & 1 deletion examples/coagents-shared-state/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ Make sure to create teh `.env` mentioned above first!
A few things to try if you are running into trouble:

1. Make sure there is no other local application server running on the 8000 port.
2. Under `/agent/my_agent/demo.py`, change `0.0.0.0` to `127.0.0.1` or to `localhost`
2. Under `/agent/translate_agent/demo.py`, change `0.0.0.0` to `127.0.0.1` or to `localhost`
2 changes: 1 addition & 1 deletion examples/coagents-shared-state/agent/langgraph.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dockerfile_lines": [],
"dependencies": ["."],
"graphs": {
"my_agent": "./my_agent/agent.py:graph"
"translate_agent": "./translate_agent/agent.py:graph"
},
"env": ".env"
}
314 changes: 159 additions & 155 deletions examples/coagents-shared-state/agent/poetry.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/coagents-shared-state/agent/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tool.poetry]
name = "my_agent"
name = "translate_agent"
version = "0.1.0"
description = "Starter"
authors = ["Ariel Weinberger <weinberger.ariel@gmail.com>"]
license = "MIT"

[project]
name = "greeter"
name = "translate_agent"
version = "0.0.1"


Expand All @@ -29,4 +29,4 @@ langgraph-cli = {extras = ["inmem"], version = "^0.1.64"}


[tool.poetry.scripts]
demo = "my_agent.demo:main"
demo = "translate_agent.demo:main"
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import uvicorn
from copilotkit.integrations.fastapi import add_fastapi_endpoint
from copilotkit import CopilotKitRemoteEndpoint, LangGraphAgent
from my_agent.agent import graph
from translate_agent.agent import graph


app = FastAPI()
Expand All @@ -28,7 +28,7 @@ def main():
"""Run the uvicorn server."""
port = int(os.getenv("PORT", "8000"))
uvicorn.run(
"my_agent.demo:app",
"translate_agent.demo:app",
host="0.0.0.0",
port=port,
reload=True,
Expand Down
2 changes: 1 addition & 1 deletion examples/coagents-wait-user-input/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ Make sure to create teh `.env` mentioned above first!
A few things to try if you are running into trouble:

1. Make sure there is no other local application server running on the 8000 port.
2. Under `/agent/my_agent/demo.py`, change `0.0.0.0` to `127.0.0.1` or to `localhost`
2. Under `/agent/weather_agent/demo.py`, change `0.0.0.0` to `127.0.0.1` or to `localhost`
2 changes: 1 addition & 1 deletion examples/coagents-wait-user-input/agent/langgraph.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dockerfile_lines": [],
"dependencies": ["."],
"graphs": {
"my_agent": "./my_agent/agent.py:graph"
"weather_agent": "./weather_agent/agent.py:graph"
},
"env": ".env"
}
Loading

0 comments on commit f672707

Please sign in to comment.