You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTEXT.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,11 @@ Running `llm-stream --login` authenticates the operator against a ChatGPT subscr
32
32
-**WHEN** the loopback callback's `state` parameter is missing or does not match the value generated at the start of `--login`
33
33
-**THEN** the sign-in fails and no credentials are stored
34
34
35
+
#### Scenario: The preferred loopback port is occupied
36
+
-**WHEN** the operator runs `llm-stream --login` while another process holds port 1455
37
+
-**THEN** the CLI prints a warning to stderr naming port 1455, the port it fell back to, and what to close
38
+
-**AND** the sign-in continues on the fallback port
39
+
35
40
### Requirement: Credential storage permissions
36
41
Stored ChatGPT credentials are only ever readable and writable by the file's owner.
37
42
@@ -161,3 +166,10 @@ The config file's top-level `base_url`, `env`, `key`, `version`, and `model` def
161
166
#### Scenario: Config file matches the selected provider
162
167
-**WHEN** the operator runs `llm-stream --api <provider> "<prompt>"` and the config file's top-level `api` matches `<provider>`, or omits `--api` entirely
163
168
-**THEN**`base_url`, `env`, `key`, `version`, and `model` are inherited from the config file as before
169
+
170
+
### Requirement: Version reporting
171
+
Running `llm-stream --version` identifies the binary and the version actually installed.
172
+
173
+
#### Scenario: Reporting the installed version
174
+
-**WHEN** the operator runs `llm-stream --version`
175
+
-**THEN** the CLI prints `llm-stream <version>`, where `<version>` is the version of the installed `llm-stream` package
0 commit comments