From cff129e937842b8e536f0d1a19b1cf62e5464c02 Mon Sep 17 00:00:00 2001 From: Naveed SNR <82994941+Naveed-SNR@users.noreply.github.com> Date: Fri, 4 Apr 2025 11:35:06 +0530 Subject: [PATCH] fix: corrected filename reference from 'api.py' to 'main.py' The update instructions previously mentioned 'api.py', but the correct filename is 'main.py'. This commit fixes that reference to avoid confusion for developers following the instructions. This change improves clarity and accuracy in the documentation/instructions. --- docs/freecodecamp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/freecodecamp.md b/docs/freecodecamp.md index 7491ce6..aa43c42 100644 --- a/docs/freecodecamp.md +++ b/docs/freecodecamp.md @@ -213,7 +213,7 @@ We created three endpoints: Next, connect the chat route to our main API. First we need to `import chat from src.chat` within our `main.py` file. Then we will include the router by literally calling an `include_router` method on the initialized `FastAPI` class and passing chat as the argument. -Update your `api.py` code as shown below: +Update your `main.py` code as shown below: ```python from fastapi import FastAPI, Request