Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/build_soundness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,23 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run tests
working-directory: swift-bedrock-library
run: swift test

playground-backend:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Web playground backend tests
working-directory: web-playground/backend
- name: Web playground backend build
working-directory: Examples/web-playground/backend
run: swift build

soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
with:
license_header_check_enabled: true
license_header_check_project_name: "Swift Foundation Models Playground"
license_header_check_project_name: "Swift Bedrock Library"
shell_check_enabled: false
python_lint_check_enabled: false
api_breakage_check_enabled: false
Expand Down
6 changes: 3 additions & 3 deletions .license_header_template
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@@===----------------------------------------------------------------------===@@
@@
@@ This source file is part of the Swift Foundation Models Playground open source project
@@ This source file is part of the Swift Bedrock Library open source project
@@
@@ Copyright (c) YEARS Amazon.com, Inc. or its affiliates
@@ and the Swift Foundation Models Playground project authors
@@ and the Swift Bedrock Library project authors
@@ Licensed under Apache License v2.0
@@
@@ See LICENSE.txt for license information
@@ See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
@@ See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
@@
@@ SPDX-License-Identifier: Apache-2.0
@@
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ let package = Package(
dependencies: [
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0"),
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.3.0"),
.package(name: "swift-bedrock-library", path: "../.."),

// Uncomment the following line to use the Bedrock library from a specific branch or commit
// .package(url: "https://github.com/build-on-aws/swift-bedrock-library.git", branch: "main"),

// for CI or testing purposes, you can use a local path
.package(name: "swift-bedrock-library", path: "../../.."),
],
targets: [
.executableTarget(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Foundation Models Playground open source project
// This source file is part of the Swift Bedrock Library open source project
//
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
// and the Swift Foundation Models Playground project authors
// and the Swift Bedrock Library project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
// See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Foundation Models Playground open source project
// This source file is part of the Swift Bedrock Library open source project
//
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
// and the Swift Foundation Models Playground project authors
// and the Swift Bedrock Library project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
// See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Foundation Models Playground open source project
// This source file is part of the Swift Bedrock Library open source project
//
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
// and the Swift Foundation Models Playground project authors
// and the Swift Bedrock Library project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
// See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Foundation Models Playground open source project
// This source file is part of the Swift Bedrock Library open source project
//
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
// and the Swift Foundation Models Playground project authors
// and the Swift Bedrock Library project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
// See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Foundation Models Playground open source project
// This source file is part of the Swift Bedrock Library open source project
//
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
// and the Swift Foundation Models Playground project authors
// and the Swift Bedrock Library project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
// See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Foundation Models Playground open source project
// This source file is part of the Swift Bedrock Library open source project
//
// Copyright (c) 2025 Amazon.com, Inc. or its affiliates
// and the Swift Foundation Models Playground project authors
// and the Swift Bedrock Library project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of Swift Foundation Models Playground project authors
// See CONTRIBUTORS.txt for the list of Swift Bedrock Library project authors
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ let package = Package(
.product(name: "Logging", package: "swift-log"),
.product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"),
],
path: "swift-bedrock-library/Sources/BedrockService"
path: "Sources/BedrockService"
),
.testTarget(
name: "BedrockServiceTests",
dependencies: [
.target(name: "BedrockService")
],
path: "swift-bedrock-library/Tests/BedrockServiceTests"
path: "Tests/BedrockServiceTests"
),
]
)
Loading