sassoftware / sassoftware/sas-copilot
SAS Viya copilot could not read metadata about SAS table.
@2TomLi is already working on this.
Since Jan 16, 2026.
- Dominant language
- TypeScript
- Stars
- 12
- Forks
- 1
- Avg merge
- 4m
- Merged PRs (30d)
- 1
Description
Describe the bug
Any time I ask copilot to create a code it's very generic and doesn't use table structure
To Reproduce
Steps to reproduce the behavior:
create a comment like:
/* code to build two predictive models logistic regression and gradient boosting for data set public.hmeq. /
/ target variable is bad. Default value is 1. */
I get something code similar to listed below. It's useless.
proc logistic data=work.hmeq;
class reason(ref="Employment") / param=ref;
model bad(event='1') = reason;
run;
or another version:
data work.hmeq_train;
set work.hmeq(obs=80);
/* use 80% for training */
run;
data work.hmeq_test;
set work.hmeq(firstobs=81);
/use remaining 20% as test data/
run;
proc gradboost data=work.hmeq_train;
target Bad / level=nominal;
input Age Income Loan / level=interval;
input Job_Role Marital_Status / level=nominal;
output out=work.gbt_score1;
run;
proc gradboost data=work.hmeq_train;
target Bad / level=nominal;
input Age Income Loan / level=interval;
input Job_Role Marital_Status / level=nominal;
output out=work.gbt_score2;
run;
or another version:
ods output ParameterEstimates=PE1 BestConfiguration=BestConfig1;
proc gradboost data=work.hmeq seed=123;
target Default / level=nominal;
input CreditScore DebtToIncomeRatio SavingsRate EmploymentStability / level=interval;
input Job / level=nominal;
ods output ParameterEstimates=PE2 BestConfiguration=BestConfig2;
run;
I receive error messages HTTP 424 Failed Dependency
or warning message
"Failed to collect library meta data from the current SAS sesion."
My VS Code version:
Version: 1.105.1 (user setup)
Commit: 7d842fb85a0275a4a8e4d7e040d2625abbf7f084
Date: 2025-10-14T22:33:36.618Z
Electron: 37.6.0
ElectronBuildId: 12502201
Chromium: 138.0.7204.251
Node.js: 22.19.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100
My Copilot version:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.