Commit 1a7a712
committed
fix: prevent spurious agent startup in dev mode and remove tiktoken dep
When running `agentcore dev` with multiple agents, useDevServer would
start the first agent's server before the user selected one, because
getDevConfig defaults to agents[0] when agentName is undefined. Guard
config resolution on agentName being set so the server only starts
after explicit selection.
Also remove tiktoken from the LangChain template dependencies as the
package no longer resolves correctly.1 parent 33523a6 commit 1a7a712
File tree
4 files changed
+1
-4
lines changed- src
- assets
- __tests__/__snapshots__
- python/langchain_langgraph/base
- cli/tui/hooks
- schema
4 files changed
+1
-4
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2095 | 2095 | | |
2096 | 2096 | | |
2097 | 2097 | | |
2098 | | - | |
2099 | 2098 | | |
2100 | 2099 | | |
2101 | 2100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | 98 | | |
100 | 99 | | |
101 | 100 | | |
| |||
0 commit comments