Skip to content

Commit

Permalink
"Update Package.resolved with new revision and version, and comment o…
Browse files Browse the repository at this point in the history
…ut testBilibilClient function in langchain_swiftTests.swift."
  • Loading branch information
buhe committed Mar 17, 2024
1 parent 5628b52 commit 2a82fc7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/buhe/SwiftyNotion",
"state" : {
"branch" : "main",
"revision" : "ccfe5600df5e315e48470ca840f682ec446869f8"
"revision" : "ccfe5600df5e315e48470ca840f682ec446869f8",
"version" : "0.1.5"
}
},
{
Expand Down
16 changes: 8 additions & 8 deletions Tests/LangChainTests/langchain_swiftTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ Thought: dog
XCTAssertEqual(4, ctx["history"]!.count)
}

func testBilibilClient() async throws {
let client = BilibiliClient(credential: BilibiliCredential(sessin: "e0f5f5ef%2C1725005380%2Cb71c5%2A31CjD3aNTEjUzgdcs3TlxijwG1rF7pYn65uwh1XTuMp0-uwGpqU4K2I6GGjPtEdvioiKcSVjA3ajg4SnJOMXdsa2Zka21yN0JvRmJkeFREOFp0amVvejlFQ0FJT2p1MC1lcGZucTI0QzRnUk5VT09PYVJyZVFzYnFNQ2M0THZJRS1lVzJjem11M1R3IIEC", jct: "b4662a4c178853f2d1a31ef89b53c89a"))
let info = await client.fetchVideoInfo(bvid: "BV1iP411y7Vs")
XCTAssertNotNil(info)
XCTAssertNotEqual(info?.subtitle, "")

// print(info!.subtitle)
}
// func testBilibilClient() async throws {
// let client = BilibiliClient(credential: BilibiliCredential(sessin: "e0f5f5ef%2C1725005380%2Cb71c5%2A31CjD3aNTEjUzgdcs3TlxijwG1rF7pYn65uwh1XTuMp0-uwGpqU4K2I6GGjPtEdvioiKcSVjA3ajg4SnJOMXdsa2Zka21yN0JvRmJkeFREOFp0amVvejlFQ0FJT2p1MC1lcGZucTI0QzRnUk5VT09PYVJyZVFzYnFNQ2M0THZJRS1lVzJjem11M1R3IIEC", jct: "b4662a4c178853f2d1a31ef89b53c89a"))
// let info = await client.fetchVideoInfo(bvid: "BV1iP411y7Vs")
// XCTAssertNotNil(info)
// XCTAssertNotEqual(info?.subtitle, "")
//
//// print(info!.subtitle)
// }

// func testBilibiliLoader() async throws {
// let loader = BilibiliLoader(videoId: "BV1iP411y7Vs")
Expand Down

0 comments on commit 2a82fc7

Please sign in to comment.