A developer must edit the correct server file. Editing the wrong file will not change the running program. This can cause errors or unexpected behavior.
By Pawan Nayar · from the LLOS AI Learning record
A developer must edit the correct server file.
Editing the wrong file will not change the running program. This can cause errors or unexpected behavior.
A project can have multiple copies of a file. Only one copy is used by the running server. The developer must know which file is active. The developer must also know how the server starts. This shows which file is loaded.
A developer wants to change how an AI model generates text. The developer finds two files named `aphorist_server.py`. The developer edits the file in the `tools` folder. The server continues to use the old code. The changes do not appear. The developer should have edited the file in the `python-server` folder.
Resolved from this lesson's own record — real definitions, not invented for this page.
More from the same record, pulled by shared topic — not written new for this page.
API keys, like those for OpenAI or Google, must be kept in one file. This file is typically named `.env`.
A developer writes a script to create a file. A computer program then uses this created file.
When a developer restarts an AI server, old processes might not stop. Each restart can add a new instance.
Before a developer makes the first edit in any work session, a backup copy of the file must be made. The backup file name should include the date.
A developer must edit the correct server file. Editing the wrong file will not change the running program. This can cause errors or unexpected behavior.