Skip to content

Commit

Permalink
Update port to 7437 from 5000 for #93, #79, and #61 (#99)
Browse files Browse the repository at this point in the history
* Ooba endpoint update

* Switch to port 7437 from 5000

* Update port to 7437 from 5000
  • Loading branch information
Josh-XT authored Apr 26, 2023
1 parent c8a53ce commit 03bdb7e
Show file tree
Hide file tree
Showing 29 changed files with 97 additions and 47 deletions.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,4 +273,4 @@ async def update_prompt(prompt_name: str, prompt: Prompt) -> ResponseMessage:
raise HTTPException(status_code=404, detail=str(e))

if __name__ == "__main__":
uvicorn.run(app, host="127.0.0.1", port=5000)
uvicorn.run(app, host="127.0.0.1", port=7437)
4 changes: 2 additions & 2 deletions docker-compose-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
ports:
- "80:3000"
environment:
NEXT_PUBLIC_API_URI: ${NEXT_PUBLIC_API_URI:-http://backend:5001}
NEXT_PUBLIC_API_URI: ${NEXT_PUBLIC_API_URI:-http://backend:7437}
env_file:
- .env
depends_on:
Expand All @@ -17,6 +17,6 @@ services:
context: .
dockerfile: Dockerfile-mac-backend
ports:
- "5001:5000"
- "7437:7437"
env_file:
- .env
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
ports:
- "80:3000"
environment:
NEXT_PUBLIC_API_URI: ${NEXT_PUBLIC_API_URI:-http://backend:5000}
NEXT_PUBLIC_API_URI: ${NEXT_PUBLIC_API_URI:-http://backend:7437}
env_file:
- .env
depends_on:
Expand All @@ -17,6 +17,6 @@ services:
context: .
dockerfile: Dockerfile-backend
ports:
- "5001:5000"
- "7437:7437"
env_file:
- .env
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ For a detailed explanation of each setting, refer to the `.env.example` file pro

Agent-LLM provides several API endpoints for managing agents, managing tasks, and managing chains.

To learn more about the API endpoints and their usage, visit the API documentation at http://localhost:5000/docs (Swagger) or http://localhost:5000/redoc (Redoc).
To learn more about the API endpoints and their usage, visit the API documentation at http://localhost:7437/docs (Swagger) or http://localhost:7437/redoc (Redoc).

## Extending Functionality

Expand Down
4 changes: 2 additions & 2 deletions frontend/components/agent/AgentAdmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ export default function AgentCommandsList({ friendly_name, name, args, enabled }
const agentName = useRouter().query.agent;
const [newName, setNewName] = useState("");
const handleDelete = async () => {
await axios.delete(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}`)
await axios.delete(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}`)
mutate(`agents`);
};
const handleRename = async () => {
await axios.put(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}`, { new_name: newName })
await axios.put(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}`, { new_name: newName })
mutate(`agents`);
};
return (
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/agent/AgentChat.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function AgentChat() {
const [message, setMessage] = useState("");
const agentName = useRouter().query.agent;
const MessageAgent = async (message) => {
const response = await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}/chat`, { prompt: message }).data.response;
const response = await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}/chat`, { prompt: message }).data.response;
setChatHistory((old) => [
...old,
`You: ${message}`,
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/agent/AgentCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function AgentCommandsList({ friendly_name, name, args, enabled }
//const [open, setOpen] = useState(false);
//const [theArgs, setTheArgs] = useState({...args});
const handleToggleCommand = async () => {
await axios.patch(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}/command`, { command_name: friendly_name, enable: enabled? "false" : "true" });
await axios.patch(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}/command`, { command_name: friendly_name, enable: enabled? "false" : "true" });
mutate(`agent/${agentName}/commands`);
};
/*
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/agent/AgentCommandList.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import AgentCommand from "./AgentCommand";
export default function AgentCommandList({ data }) {
const agentName = useRouter().query.agent;
const handleToggleAllCommands = async () => {
await axios.patch(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}/command`, { command_name: "*", enable: data.every((command) => command.enabled) ? "false" : "true" });
await axios.patch(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}/command`, { command_name: "*", enable: data.every((command) => command.enabled) ? "false" : "true" });
mutate(`agent/${agentName}/commands`);
}
return (
Expand Down
4 changes: 2 additions & 2 deletions frontend/components/agent/AgentControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import AgentCommandsList from './AgentCommandList';
import MenuAgentList from './AgentList';
export default function AgentControl({ data }) {
const agentName = useRouter().query.agent;
const commands = useSWR(`agent/${agentName}/commands`, async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}/command`)).data.commands);
const agents = useSWR('agent', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent`)).data.agents);
const commands = useSWR(`agent/${agentName}/commands`, async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}/command`)).data.commands);
const agents = useSWR('agent', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent`)).data.agents);
return <DoubleSidedMenu title={"Control Agent \""+agentName+"\""} leftHeading={"Agents"} leftSWR={agents} leftMenu={MenuAgentList} rightHeading={`${agentName} Commands`} rightSWR={commands} rightMenu={AgentCommandsList} content={AgentPanel} />;
}

Expand Down
2 changes: 1 addition & 1 deletion frontend/components/agent/AgentInstruct.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function AgentInstruct() {
const [instruction, setInstruction] = useState("");
const agentName = useRouter().query.agent;
const InstructAgent = async () => {
const response = (await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}/instruct`, { prompt: instruction })).data.response;
const response = (await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}/instruct`, { prompt: instruction })).data.response;
console.log(response);
setResponseHistory((old) => [
...old,
Expand Down
8 changes: 4 additions & 4 deletions frontend/components/agent/AgentObjective.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ export default function AgentObjective() {
const [running, setRunning] = useState(false);
const [objective, setObjective] = useState("");
const agentName = useRouter().query.agent;
const taskStatus = useSWR(`agent/${agentName}/task`, async () => (running ? (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}/task`)).data.output.split("\n") : null), { refreshInterval: running?3000:0, revalidateOnFocus: false });
const taskStatus = useSWR(`agent/${agentName}/task`, async () => (running ? (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}/task`)).data.output.split("\n") : null), { refreshInterval: running?3000:0, revalidateOnFocus: false });
const queryRunning = useCallback(async () => {
setRunning((await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}/task/status`)).data.status, {objective: objective});
setRunning((await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}/task/status`)).data.status, {objective: objective});
}, [agentName]);
useEffect(() => {
queryRunning();
}, [queryRunning])

const toggleRunning = async () => {
if (running) {
await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}/task`, {objective: "" });
await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}/task`, {objective: "" });
}
else {
await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}/task`, { objective: objective });
await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}/task`, { objective: objective });
}
await queryRunning();
mutate("agents");
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/content/DoubleSidedMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function AgentControl({ title, leftHeading, leftSWR, leftMenu, ri
setOpenRight(false);
};
const agentName = useRouter().query.agent;
const commands = useSWR(`agent/${agentName}/commands`, async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}/command`)).data.commands);
const commands = useSWR(`agent/${agentName}/commands`, async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}/command`)).data.commands);
return (<>
<AppBar position="relative" openLeft={openLeft} openRight={openRight}>
<Toolbar sx={{ display: "flex", justifyContent: "space-between" }}>
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/agent/[agent].js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import AgentControl from '@/components/agent/AgentControl';
import ContentSWR from '@/components/content/ContentSWR';
export default function Agent() {
const agentName = useRouter().query.agent;
const agent = useSWR(`agent/${agentName}`, async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent/${agentName}`)).data);
const agent = useSWR(`agent/${agentName}`, async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent/${agentName}`)).data);
return <ContentSWR swr={agent} content={AgentControl} />;
}
2 changes: 1 addition & 1 deletion frontend/pages/agent/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import DoubleSidedMenu from '@/components/content/DoubleSidedMenu';
import MenuAgentList from '@/components/agent/AgentList';
export default function Home() {
const docs = useSWR('docs/prompt', async () => (await axios.get("https://raw.githubusercontent.com/Josh-XT/Agent-LLM/main/docs/concepts/AGENT.md")).data);
const agents = useSWR('agent', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent`)).data.agents);
const agents = useSWR('agent', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent`)).data.agents);
return <DoubleSidedMenu title={"Agent Homepage"} leftHeading={"Agents"} leftSWR={agents} leftMenu={MenuAgentList} rightHeading={null} rightSWR={null} rightMenu={null} content={() => <Container>
<ContentSWR swr={docs} content={({ data }) => (
<ReactMarkdown>{data}</ReactMarkdown>
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/chain/[chain].js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import ContentSWR from '@/components/content/ContentSWR';
import ChainControl from '@/components/chain/ChainControl';
export default function Chain() {
const chainName = useRouter().query.chain;
const chain = useSWR(`chain/${chainName}`, async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/chain/${chainName}`)).data);
const chain = useSWR(`chain/${chainName}`, async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/chain/${chainName}`)).data);
return <ContentSWR swr={chain} content={ChainControl} />;
}
2 changes: 1 addition & 1 deletion frontend/pages/chain/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import DoubleSidedMenu from '@/components/content/DoubleSidedMenu';
import ChainList from '@/components/chain/ChainList';
export default function Home() {
const docs = useSWR('docs/prompt', async () => (await axios.get("https://raw.githubusercontent.com/Josh-XT/Agent-LLM/main/docs/concepts/CHAIN.md")).data);
const chains = useSWR('chain', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/chain`)).data);
const chains = useSWR('chain', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/chain`)).data);
return <DoubleSidedMenu title={"Chain Homepage"} leftHeading={"Chains"} leftSWR={chains} leftMenu={ChainList} rightHeading={null} rightSWR={null} rightMenu={null} content={() => <Container>
<ContentSWR swr={docs} content={({ data }) => (
<ReactMarkdown>{data}</ReactMarkdown>
Expand Down
4 changes: 2 additions & 2 deletions frontend/pages/new/agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import AgentList from '@/components/agent/AgentList';
export default function Home() {
const [name, setName] = useState("");
const handleCreate = async () => {
await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent`, { agent_name: name });
await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent`, { agent_name: name });
mutate("agent");
}
const agents = useSWR('agent', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/agent`)).data.agents);
const agents = useSWR('agent', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/agent`)).data.agents);
return <DoubleSidedMenu title={"Add a New Agent"} leftHeading={"Agents"} leftSWR={agents} leftMenu={AgentList} rightHeading={null} rightSWR={null} rightMenu={null} content={() => <Container>
<Typography variant='h6' component='h2' marginY={"1rem"}>
Add a New Agent
Expand Down
4 changes: 2 additions & 2 deletions frontend/pages/new/chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export default function Home() {
const [name, setName] = useState("");
const [chain, setChain] = useState("");
const handleCreate = async () => {
await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/chain`, { chain_name: name, chain: chain });
await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/chain`, { chain_name: name, chain: chain });
mutate("chain");
}
const chains = useSWR('chain', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/chain`)).data);
const chains = useSWR('chain', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/chain`)).data);
return <DoubleSidedMenu title={"Add a New Chain"} leftHeading={"Chains"} leftSWR={chains} leftMenu={ChainList} rightHeading={null} rightSWR={null} rightMenu={null} content={() => <Container>
<Typography variant='h6' component='h2' marginY={"1rem"}>
Add a New Chain
Expand Down
4 changes: 2 additions & 2 deletions frontend/pages/new/prompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export default function Home() {
const [name, setName] = useState("");
const [prompt, setPrompt] = useState("");
const handleCreate = async () => {
await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/prompt`, { prompt_name: name, prompt: prompt });
await axios.post(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/prompt`, { prompt_name: name, prompt: prompt });
mutate("prompt");
}
const prompts = useSWR('prompt', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/prompt`)).data.prompts);
const prompts = useSWR('prompt', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/prompt`)).data.prompts);
return <DoubleSidedMenu title={"Add a New Prompt"} leftHeading={"Prompts"} leftSWR={prompts} leftMenu={PromptList} rightHeading={null} rightSWR={null} rightMenu={null} content={() => <Container>
<Typography variant='h6' component='h2' marginY={"1rem"}>
Add a New Prompt
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/prompt/[prompt].js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import ContentSWR from '@/components/content/ContentSWR';
import PromptControl from '@/components/prompt/PromptControl';
export default function Agent() {
const promptName = useRouter().query.prompt;
const prompt = useSWR(`prompt/${promptName}`, async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/prompt/${promptName}`)).data);
const prompt = useSWR(`prompt/${promptName}`, async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/prompt/${promptName}`)).data);
return <ContentSWR swr={prompt} content={PromptControl} />;
}
2 changes: 1 addition & 1 deletion frontend/pages/prompt/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {useRouter} from 'next/router';
export default function Home() {
const router = useRouter();
const docs = useSWR('docs/prompt', async () => (await axios.get("https://raw.githubusercontent.com/Josh-XT/Agent-LLM/main/docs/main/concepts/PROMPT.md")).data);
const prompts = useSWR('prompt', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/prompt`)).data.prompts);
const prompts = useSWR('prompt', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/prompt`)).data.prompts);
return <DoubleSidedMenu title={"Prompt Homepage"} leftHeading={"Prompts"} leftSWR={prompts} leftMenu={PromptList} rightHeading={null} rightSWR={null} rightMenu={null} content={() => <Container>
<ContentSWR swr={docs} content={({ data }) => (
<ReactMarkdown>{data}</ReactMarkdown>
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/provider/[provider].js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import ReactMarkdown from 'react-markdown';
export default function Provider() {
const providerName = useRouter().query.provider;
const docs = useSWR('docs/provider/'+providerName, async () => (await axios.get("https://raw.githubusercontent.com/Josh-XT/Agent-LLM/main/docs/providers/"+providerName.toUpperCase()+".md")).data);
const providers = useSWR('provider', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/provider`)).data.providers);
const providers = useSWR('provider', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/provider`)).data.providers);
return <DoubleSidedMenu title={"Provider Homepage"} leftHeading={"Providers"} leftSWR={providers} leftMenu={ProviderList} rightHeading={null} rightSWR={null} rightMenu={null} content={() => <Container>
<ContentSWR swr={docs} content={({ data }) => (
<ReactMarkdown>{data}</ReactMarkdown>
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/provider/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import DoubleSidedMenu from '@/components/content/DoubleSidedMenu';
import ProviderList from '@/components/provider/ProviderList';
export default function Home() {
const docs = useSWR('docs/prompt', async () => (await axios.get("https://raw.githubusercontent.com/Josh-XT/Agent-LLM/main/docs/concepts/PROVIDER.md")).data);
const providers = useSWR('provider', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:5000'}/api/provider`)).data.providers);
const providers = useSWR('provider', async () => (await axios.get(`${process.env.NEXT_PUBLIC_API_URI ?? 'http://localhost:7437'}/api/provider`)).data.providers);
return <DoubleSidedMenu title={"Provider Homepage"} leftHeading={"Providers"} leftSWR={providers} leftMenu={ProviderList} rightHeading={null} rightSWR={null} rightMenu={null} content={() => <Container>
<ContentSWR swr={docs} content={({ data }) => (
<ReactMarkdown>{data}</ReactMarkdown>
Expand Down
2 changes: 1 addition & 1 deletion notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"import requests\n",
"from pprint import pprint\n",
"\n",
"base_uri = \"http://localhost:5000\""
"base_uri = \"http://localhost:7437\""
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions notebooks/bard.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@
"## Accessing Agent-LLM\n",
"Web Interface: http://localhost\n",
"\n",
"Redoc: http://localhost:5000/redoc\n",
"Redoc: http://localhost:7437/redoc\n",
"\n",
"Swagger: http://localhost:5000/docs"
"Swagger: http://localhost:7437/docs"
]
}
],
Expand Down
4 changes: 2 additions & 2 deletions notebooks/chatgpt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@
"## Accessing Agent-LLM\n",
"Web Interface: http://localhost\n",
"\n",
"Redoc: http://localhost:5000/redoc\n",
"Redoc: http://localhost:7437/redoc\n",
"\n",
"Swagger: http://localhost:5000/docs"
"Swagger: http://localhost:7437/docs"
]
}
],
Expand Down
4 changes: 2 additions & 2 deletions notebooks/llamacpp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@
"## Accessing Agent-LLM\n",
"Web Interface: http://localhost\n",
"\n",
"Redoc: http://localhost:5000/redoc\n",
"Redoc: http://localhost:7437/redoc\n",
"\n",
"Swagger: http://localhost:5000/docs"
"Swagger: http://localhost:7437/docs"
]
}
],
Expand Down
Loading

0 comments on commit 03bdb7e

Please sign in to comment.