Skip to content

Commit

Permalink
refactor!: restrict extension, group, graph name pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
halajohn committed Oct 7, 2024
1 parent fa92e0c commit 70e26d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/ten_rust/src/json_schema/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ mod tests {
"type": "extension",
"name": "embedding",
"version": "0.1.0",
"dependencies": [
"dependencies": [
{
"type": "system",
"name": "ten_runtime_python",
Expand Down Expand Up @@ -876,7 +876,7 @@ mod tests {
assert!(result.is_err());

let msg = result.unwrap_err().to_string();
assert!(msg.contains("Additional properties are not allowed ('status' was unexpected) @ /api/cmd_in/default"));
assert!(msg.contains("Additional properties are not allowed ('status' was unexpected) @ /api/cmd_in/0"));
}

#[test]
Expand Down

0 comments on commit 70e26d0

Please sign in to comment.