Commit 888c5e3
authored
feat(frontend): update frontend (#340)
* init
* have all sections on Frontend
* update models
* add gpt 5 series special param
* update
* update the full pipeline
* clean quick setup
* fix eslint errors
* clean up
* Fix frontend-backend compatibility issues
- Expand env_var_map in backend to cover all model options exposed in
the frontend selector (GPT-5 variants, GPT-4.1 variants, o3/o4, all
Claude 4.x variants, Gemini 2.x variants)
- Replace hardcoded http://localhost:5000 URLs with relative paths so
the app works in any deployment environment:
- DimensionSelectorModal.jsx: /api/suggest-dimensions
- LogDisplay.jsx: socket.io now connects via window.location.origin
* Fix frontend logic bugs found in pipeline audit
- /api/code: backend returns HTTP 200 with success=false when code
execution fails; frontend was only checking response.ok/data.error
and would incorrectly advance to code_done state. Now also checks
data.success === false and surfaces error_details to the user.
- generateChildNodes: function uses selectedNode state but was being
called with pendingMerge.sourceNode as an argument (ignored). Added
optional overrideNode parameter so the caller can pass a node
directly, bypassing stale React state.
- DimensionSelector.jsx: /api/suggest-dimensions call was missing
credentials:include and response.ok check, causing silent failures
on backend errors.
* Set temperature=1.0 for Thinker and Reviewer to fix reasoning model errors
* fix agent sdk1 parent 4b3ddd6 commit 888c5e3
File tree
43 files changed
+12785
-3398
lines changed- backend
- examples
- frontend
- src
- components
- utils
- scripts
- tests
- tiny_scientist
- prompts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
43 files changed
+12785
-3398
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
0 commit comments