chore: add serving to dev-playground, template, and docs#241
Merged
Conversation
This was referenced Apr 3, 2026
735aa72 to
9b7bcc1
Compare
12b1ac0 to
c9134db
Compare
9b7bcc1 to
e2336c1
Compare
68b663f to
9dc0a15
Compare
2657962 to
8687067
Compare
908304d to
7e16c81
Compare
calvarjorge
approved these changes
Apr 8, 2026
1d503de to
a8ebf5e
Compare
7e16c81 to
106c9f5
Compare
a8ebf5e to
cccf049
Compare
fa130f2 to
4b7692c
Compare
cccf049 to
ac0a669
Compare
4b7692c to
9db55cb
Compare
ac0a669 to
10204a8
Compare
9db55cb to
6d2c6cc
Compare
10204a8 to
6c85231
Compare
6d2c6cc to
c2b8e5d
Compare
6c85231 to
e1068f6
Compare
c2b8e5d to
04406bd
Compare
e1068f6 to
c428977
Compare
04406bd to
8ac9638
Compare
8ac9638 to
7a444f3
Compare
MarioCadenas
approved these changes
Apr 10, 2026
Integrate the Model Serving plugin into the dev-playground app with a chat-style streaming demo page. Add serving plugin to app templates and appkit init scaffolding. Include plugin documentation and auto-generated API reference docs. Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
Build the full message array synchronously in handleSubmit and pass it to stream() via the new overrideBody parameter, instead of relying on useMemo recomputation via setTimeout. Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
Replace dual-source pattern (onComplete + streaming bubble) with a useEffect that commits the assistant message on streaming→false transition, then calls reset(). Eliminates both the duplicate response and missing subsequent responses. Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
The Message interface includes an id field used as a React key. When spreading messages into the API payload, this extra field was included, which could cause the Databricks serving endpoint to reject subsequent requests. The first message worked because the messages array was empty. Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
The template computed body via useMemo([messages, input]), causing the invoke callback to be recreated on every state change. This triggered the useEffect cleanup that aborted in-flight requests. Use a stable empty body and pass the real messages via invoke(overrideBody). Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
…T_NAME in playground and docs Also add execution context section documenting OBO-by-default behavior. Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
- Rename display string in dev-playground serving route - Fix wrongly renamed DATABRICKS_SERVING_ENDPOINT_CLASSIFIER in docs Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
The plugin is now auto-included by the dev server. Remove manual imports from dev-playground and template vite configs, and update docs to reflect that no user configuration is needed. Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
7a444f3 to
0a60482
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
appkit initscaffoldingDemo
model-serving-demo-compressed.mp4
PR Stack — Model Serving