RelationalAI / rai-sdk-csharp

The RelationalAI Software Development Kit (SDK) for C#
Apache License 2.0
0 stars 1 forks source link

Fix raicode default access token handler test failure #68

Closed NRHelmi closed 1 year ago

NRHelmi commented 1 year ago

The test action should create ~/.rai dir before running the default access token handler tests also to make sure we are caching tokens locally on disk

larf311 commented 1 year ago

@torkins Should the SDKs create ~/.rai themselves rather than having to create it manually?

NRHelmi commented 1 year ago

@torkins Should the SDKs create ~/.rai themselves rather than having to create it manually?

the sdks should not create ~/.rai themselves and they will fallback to in-memory caching if this path is not found. In the case of the default access token handler test we are forcing reading from local cache that's why the test fails

torkins commented 1 year ago

@torkins Should the SDKs create ~/.rai themselves rather than having to create it manually?

Helmi is right, they shouldn't