One key for every model.
Use it in the NicoSoft AI desktop app, or point the SDK you already use at it. Pay per token from a prepaid balance.
85 models · 5 providers · 99.98% uptime · — to first tokenApple silicon · macOS 14 or later · Also for Windows
64-bit · Windows 10 22H2 or later · Also for Mac
Desktop app for Mac and Windows
Fix flaky stream test
Started on ~/code/nicosoft-project · Save as environment
ProxyEngineServiceTest fails about one run in ten. Find out why and fix it.
I'll check the test and the code that waits for the first frame.
Read a file, searched a pattern, edited a file +1 −1, ran a command
ReadProxyEngineServiceTest.java
SearchedfirstData
EditedProxyEngineServiceTest.java+1 −1
− Thread.sleep(50);
49+ clock.advance(Duration.ofMillis(50));
Run the test 200 times
Fixed. The test called Thread.sleep(50) and hoped the first frame had arrived by then; on a busy machine it hadn't, so peek timed out. It now advances an injected Clock instead. All 42 tests pass, 200 runs in a row.
Type / for commands↵ to send, ⌘↵ to queue for later
ReadingProxyEngineServiceTest.java
ReadProxyEngineServiceTest.java
Searching firstData
Read a file, searched a pattern
SearchingfirstData
Editing ProxyEngineServiceTest.java
Read a file, searched a pattern, edited a file +1 −1
EditingProxyEngineServiceTest.java