Skip to content

Commit 7b07455

Browse files
authored
Remove misleading session service (google#273)
VertexAI chat isn't suitable for session storage, and the implementation returns a fake "test-id" as the session ID. Remove this package.
1 parent b5bc2c3 commit 7b07455

File tree

3 files changed

+0
-160
lines changed

3 files changed

+0
-160
lines changed

‎examples/vertexai/agent.go‎

Lines changed: 0 additions & 81 deletions
This file was deleted.

‎session/service.go‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ func InMemoryService() Service {
3939
}
4040
}
4141

42-
// VertexAIService returns VertexAISessionService implementation.
43-
func VertexAIService(ctx context.Context, model string) (Service, error) {
44-
return newVertexAISessionService(ctx, model)
45-
}
46-
4742
// CreateRequest represents a request to create a session.
4843
type CreateRequest struct {
4944
AppName string

‎session/vertexai.go‎

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)