generated from konveyor-ecosystem/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Make Kai RPC Server fail
initialize
call when model provider cann…
…ot be queried (#614) * Added model environment validation Signed-off-by: JonahSussman <[email protected]> * Further work Signed-off-by: JonahSussman <[email protected]> * Made trunk happy Signed-off-by: JonahSussman <[email protected]> * Pinned all opentelemetry packages Signed-off-by: JonahSussman <[email protected]> * Fixed tests and e2e demo Signed-off-by: JonahSussman <[email protected]> * Fixed review comments Signed-off-by: JonahSussman <[email protected]> --------- Signed-off-by: JonahSussman <[email protected]>
- Loading branch information
1 parent
cf5ffb2
commit 7cba2a0
Showing
14 changed files
with
246 additions
and
101 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
26 changes: 26 additions & 0 deletions
26
kai/data/llm_cache/kai-test-generation/validate_environment.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"input": "", | ||
"output": { | ||
"lc": 1, | ||
"type": "constructor", | ||
"id": [ | ||
"langchain", | ||
"schema", | ||
"messages", | ||
"AIMessage" | ||
], | ||
"kwargs": { | ||
"content": "Hello", | ||
"response_metadata": { | ||
"finish_reason": "length", | ||
"model_name": "kai-test-generation", | ||
"system_fingerprint": "fp_50cad350e4" | ||
}, | ||
"type": "ai", | ||
"id": "run-b3817ca3-910f-4b5b-9a89-cd3a579c234a-0", | ||
"tool_calls": [], | ||
"invalid_tool_calls": [] | ||
} | ||
}, | ||
"meta": {} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.